aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRupert Carmichael <54966017+carmiker@users.noreply.github.com>2022-12-30 15:13:39 -0500
committerGitHub <noreply@github.com>2022-12-30 21:13:39 +0100
commitbd9c614cebe47f809ae125a4bf59649191332a3a (patch)
tree969ab68848bab1bc2bf204267d83e3652767f32b /src
parent43d091361ed6b400a68911147fd5fe524ccecf34 (diff)
Wifi: -Wformat warning caused by missing printf argument (#1532)
Diffstat (limited to 'src')
-rw-r--r--src/Wifi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wifi.cpp b/src/Wifi.cpp
index c2614e7..5373187 100644
--- a/src/Wifi.cpp
+++ b/src/Wifi.cpp
@@ -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;