Skip to content

Commit

Permalink
Wifi: -Wformat warning caused by missing printf argument (melonDS-emu…
Browse files Browse the repository at this point in the history
  • Loading branch information
carmiker authored Dec 30, 2022
1 parent 43d0913 commit bd9c614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wifi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd9c614

Please sign in to comment.