mirror of https://github.com/ARMmbed/mbed-os.git
[nrf51822][gcc_arm][c++]: fix 'impossible constraint in asm' error, used by ble app
parent
90467175c0
commit
bda033dc8e
|
@ -16,7 +16,7 @@
|
|||
{ \
|
||||
__asm( \
|
||||
"svc %0\n" \
|
||||
"bx r14" : : "I" (number) : "r0" \
|
||||
"bx r14" : : "I" ((uint32_t)number) : "r0" \
|
||||
); \
|
||||
}
|
||||
#elif defined (__ICCARM__)
|
||||
|
|
Loading…
Reference in New Issue