Skip to content

Commit 1c7b91a

Browse files
committed
us_ticker is not yet initialised at this stage
1 parent 24cebba commit 1c7b91a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/ublox_low_level_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ void ublox_mdm_init(void)
4242
// Can't use wait_ms() as RTOS isn't initialised yet
4343
//wait_ms(50); // when USB cable is inserted the interface chip issues
4444
// Here's the code from the non-RTOS version
45+
us_ticker_init();
4546
uint32_t start = us_ticker_read();
4647
while ((us_ticker_read() - start) < 50000);
4748
}

0 commit comments

Comments
 (0)