diff options
Diffstat (limited to 'os/hal/ports/NRF5/NRF51822/nrf_delay.h')
-rw-r--r-- | os/hal/ports/NRF5/NRF51822/nrf_delay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/NRF5/NRF51822/nrf_delay.h b/os/hal/ports/NRF5/NRF51822/nrf_delay.h index 33b68fb..f8668d6 100644 --- a/os/hal/ports/NRF5/NRF51822/nrf_delay.h +++ b/os/hal/ports/NRF5/NRF51822/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" |