summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-06-04 14:09:19 +0300
committerOxore <oxore@protonmail.com>2023-06-04 14:09:45 +0300
commit1444f0a39e5ac5bd1b2788e99df4d65c666328dc (patch)
tree2eb7e3158f75cd90ae157fe700ea8889a686ccd6 /app
parent7ef56c95b2130e5a23d5e7877f69cc72b80d72b0 (diff)
Fix for GCC 12.2, add map file generationHEADmaster
Diffstat (limited to 'app')
-rw-r--r--app/led_driver/led_driver_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/led_driver/led_driver_process.c b/app/led_driver/led_driver_process.c
index 165ef99..1bfc80c 100644
--- a/app/led_driver/led_driver_process.c
+++ b/app/led_driver/led_driver_process.c
@@ -9,7 +9,7 @@
void LEDDriverProcessFromISR ( void )
{
return;
- asm volatile("cpsid i");
+ __asm__ volatile("cpsid i");
LED_ST_PIN_RESET;
for (int j = 0; j < 4; j++) {
LED_SPIx->DR = 0;
@@ -27,5 +27,5 @@ void LEDDriverProcessFromISR ( void )
while (SPI_I2S_FLAG_BSY & LED_SPIx->SR);
}
}
- asm volatile("cpsie i");
+ __asm__ volatile("cpsie i");
}