mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Merge pull request #5785 from x3ro/fix-mci-driver-timer-issue
lpc2387: Fix wrong factor in driver poll-timer
This commit is contained in:
commit
c34e9d268c
@ -477,7 +477,7 @@ static int wait_ready(unsigned short tmr)
|
||||
{
|
||||
unsigned long rc;
|
||||
|
||||
uint32_t stoppoll = xtimer_now() + tmr * 100;
|
||||
uint32_t stoppoll = xtimer_now() + tmr * MS_IN_USEC;
|
||||
bool bBreak = false;
|
||||
|
||||
while (xtimer_now() < stoppoll/*Timer[0]*/) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user