Skip to content

Commit

Permalink
Merge pull request #7060 from ithinuel/fix-c027
Browse files Browse the repository at this point in the history
UBLOX_C027: init us_ticker in the target initialization
  • Loading branch information
Cruz Monrreal committed Jun 4, 2018
2 parents 583d77f + 1c7b91a commit abed3df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void ublox_mdm_init(void)
// Can't use wait_ms() as RTOS isn't initialised yet
//wait_ms(50); // when USB cable is inserted the interface chip issues
// Here's the code from the non-RTOS version
us_ticker_init();
uint32_t start = us_ticker_read();
while ((us_ticker_read() - start) < 50000);
}
Expand Down

0 comments on commit abed3df

Please sign in to comment.