C++ syntax attribute
This commit is contained in:
parent
a273d734ff
commit
90c3627a70
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
static constexpr unsigned ticks = SYSTEM_CORE_CLOCK / 1000u;
|
static constexpr unsigned ticks = SYSTEM_CORE_CLOCK / 1000u;
|
||||||
static volatile unsigned counter = 0u;
|
static volatile unsigned counter = 0u;
|
||||||
extern "C" void SysTick_Handler ()__attribute__((interrupt));
|
extern "C" [[gnu::interrupt]] void SysTick_Handler ();
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
void SysTick_Handler () {
|
void SysTick_Handler () {
|
||||||
SysTick.SR = 0u;
|
SysTick.SR = 0u;
|
||||||
|
|
Loading…
Reference in a new issue