cpu/lpc2387: Use PRIu32 in DEBUG() in mci
This commit is contained in:
parent
6358e75f01
commit
f31375a152
@ -578,7 +578,8 @@ diskio_sta_t mci_initialize(void)
|
|||||||
|
|
||||||
/* This loop will take a time. Insert wai_tsk(1) here for multitask envilonment. */
|
/* This loop will take a time. Insert wai_tsk(1) here for multitask envilonment. */
|
||||||
if (xtimer_now_usec() > (start + 1000000/* !Timer[0] */)) {
|
if (xtimer_now_usec() > (start + 1000000/* !Timer[0] */)) {
|
||||||
DEBUG("now: %lu, started at: %lu\n", xtimer_now_usec(), start);
|
DEBUG("now: %" PRIu32 ", started at: %" PRIu32 "\n",
|
||||||
|
xtimer_now_usec(), start);
|
||||||
DEBUG("%s, %d: Timeout #2\n", RIOT_FILE_RELATIVE, __LINE__);
|
DEBUG("%s, %d: Timeout #2\n", RIOT_FILE_RELATIVE, __LINE__);
|
||||||
goto di_fail;
|
goto di_fail;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user