From 1cf1f59ca9f5c390baee6d8e5160a19980652564 Mon Sep 17 00:00:00 2001 From: Lucas Jenss Date: Tue, 30 Aug 2016 19:19:18 +0200 Subject: [PATCH] lpc2378: Fix wrong factor in driver poll-timer Fixes #4530 --- cpu/lpc2387/mci/lpc2387-mci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/lpc2387/mci/lpc2387-mci.c b/cpu/lpc2387/mci/lpc2387-mci.c index f288096719..be67433130 100644 --- a/cpu/lpc2387/mci/lpc2387-mci.c +++ b/cpu/lpc2387/mci/lpc2387-mci.c @@ -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]*/) {