mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 02:13:19 +00:00
drivers/net: update format specifier on lan9250 driver
Fix print statement for uint8 and uint16 types. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
parent
9bfde6b934
commit
5e52e75631
1 changed files with 2 additions and 2 deletions
|
|
@ -617,7 +617,7 @@ static void lan9250_wait_ready(FAR struct lan9250_driver_s *priv,
|
|||
|
||||
if (timeout)
|
||||
{
|
||||
nerr("ERROR: wait register:0x%02" PRIx32 \
|
||||
nerr("ERROR: wait register:0x%04" PRIx16 \
|
||||
", mask:0x%08" PRIx32 \
|
||||
", expected:0x%08" PRIx32 "\n",
|
||||
address, mask, expected);
|
||||
|
|
@ -736,7 +736,7 @@ static void lan9250_wait_mac_ready(FAR struct lan9250_driver_s *priv,
|
|||
|
||||
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",
|
||||
address, mask, expected);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue