From 90c3627a70bd70bb09597e4d387c572138bbea1b Mon Sep 17 00:00:00 2001 From: Kizarm Date: Fri, 9 Aug 2024 18:20:50 +0200 Subject: [PATCH] C++ syntax attribute --- V203/test/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/V203/test/main.cpp b/V203/test/main.cpp index 50fc824..fdee88a 100644 --- a/V203/test/main.cpp +++ b/V203/test/main.cpp @@ -3,7 +3,7 @@ //////////////////////////////////////////////////////////////////////// static constexpr unsigned ticks = SYSTEM_CORE_CLOCK / 1000u; static volatile unsigned counter = 0u; -extern "C" void SysTick_Handler ()__attribute__((interrupt)); +extern "C" [[gnu::interrupt]] void SysTick_Handler (); //////////////////////////////////////////////////////////////////////// void SysTick_Handler () { SysTick.SR = 0u;