H316: Fix format types in debug messages
This commit is contained in:
parent
89215d8288
commit
a2300fcf95
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// DLE, STX, ETX and checksum bytes, that would be added to the packet.
|
||||||
nbits = (((uint32) count)*2UL + 12UL) * 8UL;
|
nbits = (((uint32) count)*2UL + 12UL) * 8UL;
|
||||||
PHIDB(line)->txdelay = (nbits * 1000000UL) / (PHIDB(line)->bps * rtc_interval);
|
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 ...
|
// That's it - we're done until it's time for the TX done interrupt ...
|
||||||
CLR_TX_IRQ(line);
|
CLR_TX_IRQ(line);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue