Fix a signed and unsigned integer comparison warning

pull/1321/head
Andrew Fernandes 2015-09-06 17:59:04 -04:00
parent 92d1bfad30
commit b2c122be4c
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void init_clock(void)
/* 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;