From a2300fcf95ff54afa1f16c5965c00134a611141c Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 17 Feb 2020 19:16:15 -0800 Subject: [PATCH] H316: Fix format types in debug messages --- H316/h316_hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/H316/h316_hi.c b/H316/h316_hi.c index a80a5912..f61eeace 100644 --- a/H316/h316_hi.c +++ b/H316/h316_hi.c @@ -358,7 +358,7 @@ void hi_start_tx (uint16 line, uint16 flags) // DLE, STX, ETX and checksum bytes, that would be added to the packet. nbits = (((uint32) count)*2UL + 12UL) * 8UL; PHIDB(line)->txdelay = (nbits * 1000000UL) / (PHIDB(line)->bps * rtc_interval); - sim_debug(IMP_DBG_IOT, PDEVICE(line), "HI%d - transmit packet, length=%d, bits=%ld, interval=%ld, delay=%ld\n", line, count, nbits, rtc_interval, PHIDB(line)->txdelay); + sim_debug(IMP_DBG_IOT, PDEVICE(line), "HI%d - transmit packet, length=%d, bits=%u, interval=%u, delay=%u\n", line, count, nbits, rtc_interval, PHIDB(line)->txdelay); // That's it - we're done until it's time for the TX done interrupt ... CLR_TX_IRQ(line); }