mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
drivers/net: update format specifier on lan9250 driver
Build Documentation / build-html (push) Waiting to run
Build Documentation / build-html (push) Waiting to run
Fix print statement for uint8 and uint16 types. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
committed by
CeDeROM
parent
9bfde6b934
commit
5e52e75631
@@ -617,7 +617,7 @@ static void lan9250_wait_ready(FAR struct lan9250_driver_s *priv,
|
|||||||
|
|
||||||
if (timeout)
|
if (timeout)
|
||||||
{
|
{
|
||||||
nerr("ERROR: wait register:0x%02" PRIx32 \
|
nerr("ERROR: wait register:0x%04" PRIx16 \
|
||||||
", mask:0x%08" PRIx32 \
|
", mask:0x%08" PRIx32 \
|
||||||
", expected:0x%08" PRIx32 "\n",
|
", expected:0x%08" PRIx32 "\n",
|
||||||
address, mask, expected);
|
address, mask, expected);
|
||||||
@@ -736,7 +736,7 @@ static void lan9250_wait_mac_ready(FAR struct lan9250_driver_s *priv,
|
|||||||
|
|
||||||
if (timeout)
|
if (timeout)
|
||||||
{
|
{
|
||||||
nerr("ERROR: wait MAC register:0x%02" PRIx32 \
|
nerr("ERROR: wait MAC register:0x%02" PRIx8 \
|
||||||
", mask:0x%08" PRIx32 ", expect:0x%08" PRIx32 "\n",
|
", mask:0x%08" PRIx32 ", expect:0x%08" PRIx32 "\n",
|
||||||
address, mask, expected);
|
address, mask, expected);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user