Wifi: -Wformat warning caused by missing printf argument (#1532)

This commit is contained in:
Rupert Carmichael
2022-12-30 15:13:39 -05:00
committed by GitHub
parent 43d091361e
commit bd9c614ceb

View File

@ -872,7 +872,7 @@ bool ProcessTX(TXSlot* slot, int num)
}
if ((num != 5) && (RAM[slot->Addr+4] > 0))
printf("SLOT %d RETRY COUNTER %d\n", RAM[slot->Addr+4]);
printf("SLOT %d RETRY COUNTER %d\n", num, RAM[slot->Addr+4]);
// set TX addr
IOPORT(W_RXTXAddr) = slot->Addr >> 1;