mbed library sources
Fork of mbed-src by
Diff: targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c
- Revision:
- 620:49241b7c6da5
- Parent:
- 603:3c75ef011213
--- a/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c Fri Sep 04 09:30:10 2015 +0100 +++ b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c Mon Sep 07 10:00:10 2015 +0100 @@ -92,7 +92,7 @@ /* For compatibility purpose, the default behaviour is to first attempt to initialise an external clock, and after a timeout, use the internal RC one. To avoid this wait, boards that don't have an external oscillator can set TARGET_NRF_LFCLK_RC directly. */ - int i = 0; + uint32_t i = 0; const uint32_t polling_period = 200; const uint32_t timeout = 1000000;