diff options
Diffstat (limited to 'os/hal/ports/NRF5/NRF52832/nrf_delay.h')
-rw-r--r-- | os/hal/ports/NRF5/NRF52832/nrf_delay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/NRF5/NRF52832/nrf_delay.h b/os/hal/ports/NRF5/NRF52832/nrf_delay.h index 55a40e3..9b5df64 100644 --- a/os/hal/ports/NRF5/NRF52832/nrf_delay.h +++ b/os/hal/ports/NRF5/NRF52832/nrf_delay.h @@ -27,7 +27,7 @@ inline static void nrf_delay_us(uint32_t volatile number_of_us) __attribute__((always_inline)); inline static void nrf_delay_us(uint32_t volatile number_of_us) { -register uint32_t delay asm ("r0") = number_of_us; +register uint32_t delay __asm ("r0") = number_of_us; __asm volatile ( ".syntax unified\n" "1:\n" |