changed asm to __asm. (is it right?)
This commit is contained in:
parent
539338100f
commit
89b707fd7c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue