drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c: Fix syslog formats
This commit is contained in:
parent
5a57f10b9c
commit
4fea157642
@ -40,6 +40,7 @@
|
|||||||
#include <nuttx/wireless/ieee80211/mmc_sdio.h>
|
#include <nuttx/wireless/ieee80211/mmc_sdio.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <nuttx/compiler.h>
|
#include <nuttx/compiler.h>
|
||||||
@ -118,8 +119,9 @@ int sdio_sendcmdpoll(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg)
|
|||||||
ret = SDIO_WAITRESPONSE(dev, cmd);
|
ret = SDIO_WAITRESPONSE(dev, cmd);
|
||||||
if (ret != OK)
|
if (ret != OK)
|
||||||
{
|
{
|
||||||
wlerr("ERROR: Wait for response to cmd: %08x failed: %d\n",
|
wlerr("ERROR: Wait for response to cmd: %08" PRIx32
|
||||||
cmd, ret);
|
" failed: %d\n",
|
||||||
|
cmd, ret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -374,7 +376,7 @@ int sdio_probe(FAR struct sdio_dev_s *dev)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
wlinfo("rca is %x\n", data >> 16);
|
wlinfo("rca is %" PRIx32 "\n", data >> 16);
|
||||||
|
|
||||||
/* Send CMD7 with the argument == RCA in order to select the card
|
/* Send CMD7 with the argument == RCA in order to select the card
|
||||||
* and put it in Transfer State.
|
* and put it in Transfer State.
|
||||||
|
Loading…
Reference in New Issue
Block a user