Skip to content

Commit abed3df

Browse files
author
Cruz Monrreal
authored
Merge pull request #7060 from ithinuel/fix-c027
UBLOX_C027: init us_ticker in the target initialization
2 parents 583d77f + 1c7b91a commit abed3df

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)