1
0
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:
BytesGalore 2016-08-30 21:09:17 +02:00 committed by GitHub
commit c34e9d268c

View File

@ -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]*/) {