diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/NCSI/ncsi.c | 2 | ||||
-rw-r--r-- | libs/Network/tx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/NCSI/ncsi.c b/libs/NCSI/ncsi.c index 6aa4a44..fe708fb 100644 --- a/libs/NCSI/ncsi.c +++ b/libs/NCSI/ncsi.c @@ -724,7 +724,7 @@ void reloadChannel(unsigned int ch, reload_type_t reset_phy) uint16_t high = (uint16_t)port->shm_channel->NcsiChannelMac0High.r32; Network_SetMACAddr(port, high, low, /* TBD */ 0, true); - printf("[ch %d] Reusing MAC: 0x%02X%04X\n", ch, high, low); + printf("[ch %u] Reusing MAC: 0x%02X%04X\n", ch, high, low); Network_InitPort(gPackageState.port[ch], reset_phy); } diff --git a/libs/Network/tx.c b/libs/Network/tx.c index 67ceaf0..d626d98 100644 --- a/libs/Network/tx.c +++ b/libs/Network/tx.c @@ -401,7 +401,7 @@ static uint32_t inline Network_TX_initAdditionalPassthroughBlock(RegTX_PORTOut_t static void drainPassthroughBytes(uint32_t bytes) { - printf("Dropping %d bytes\n", bytes); + printf("Dropping %u bytes\n", bytes); // Drain any passthrough bytes to ensure that the NCSI input buffers are not locked up. int num_words = DIVIDE_RND_UP(bytes, sizeof(uint32_t)) + 1; // +1 for FCS word. for (int i = 0; i < num_words; i++) |