changed asm to __asm. (is it right?)

This commit is contained in:
Stephane D'Alu 2016-07-11 22:42:25 +02:00
parent 539338100f
commit 89b707fd7c
1 changed files with 1 additions and 1 deletions

View File

@ -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"