drivers/net: update format specifier on lan9250 driver
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:
Filipe Cavalcanti
2025-02-27 13:56:07 -03:00
committed by CeDeROM
parent 9bfde6b934
commit 5e52e75631
+2 -2
View File
@@ -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);
}