Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.
Revision 2:40d78e68bc70, committed 2016-04-07
- Comitter:
- vcoubard
- Date:
- Thu Apr 07 17:37:18 2016 +0100
- Parent:
- 1:ebc0e0ef0a11
- Child:
- 3:6d535ccf2f48
- Commit message:
- Synchronized with git rev edae2692
Author: Liyou Zhou
Fix compiler error.
Changed in this revision
source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h Thu Apr 07 17:37:17 2016 +0100 +++ b/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h Thu Apr 07 17:37:18 2016 +0100 @@ -53,7 +53,7 @@ { \ __asm( \ "svc %0\n" \ - "bx r14" : : "I" (number) : "r0" \ + "bx r14" : : "I" ((uint32_t) number) : "r0" \ ); \ } \ _Pragma("GCC diagnostic pop")