Merge pull request #16261 from maribu/cpu/stm32/periph_eth
cpu/stm32/periph_eth: fix format specifier in DEBUG()
This commit is contained in:
commit
700046238f
@ -142,7 +142,7 @@ static void _debug_rx_descriptor_info(unsigned line)
|
|||||||
DEBUG("[stm32_eth:%u] RX descriptors:\n", line);
|
DEBUG("[stm32_eth:%u] RX descriptors:\n", line);
|
||||||
for (unsigned i = 0; i < ETH_RX_DESCRIPTOR_COUNT; i++) {
|
for (unsigned i = 0; i < ETH_RX_DESCRIPTOR_COUNT; i++) {
|
||||||
uint32_t status = rx_desc[i].status;
|
uint32_t status = rx_desc[i].status;
|
||||||
DEBUG(" %s %u: OWN=%c, FS=%c, LS=%c, ES=%c, DE=%c, FL=%lu\n",
|
DEBUG(" %s %u: OWN=%c, FS=%c, LS=%c, ES=%c, DE=%c, FL=%" PRIu32 "\n",
|
||||||
(rx_curr == rx_desc + i) ? "-->" : " ",
|
(rx_curr == rx_desc + i) ? "-->" : " ",
|
||||||
i,
|
i,
|
||||||
(status & RX_DESC_STAT_OWN) ? '1' : '0',
|
(status & RX_DESC_STAT_OWN) ? '1' : '0',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user