Set write permission for 'write without response' characteristics.
Fork of nRF51822 by
Diff: nordic/nrf-sdk/s110/nrf_svc.h
- Revision:
- 63:708b23889028
- Parent:
- 37:c29c330d942c
diff -r 9689ec201907 -r 708b23889028 nordic/nrf-sdk/s110/nrf_svc.h --- a/nordic/nrf-sdk/s110/nrf_svc.h Fri Aug 29 10:41:37 2014 +0200 +++ b/nordic/nrf-sdk/s110/nrf_svc.h Sun Aug 31 00:58:52 2014 +0000 @@ -16,7 +16,7 @@ { \ __asm( \ "svc %0\n" \ - "bx r14" : : "I" (number) : "r0" \ + "bx r14" : : "I" ((uint32_t)number) : "r0" \ ); \ } #elif defined (__ICCARM__)