aboutsummaryrefslogtreecommitdiff
path: root/src/Wifi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wifi.cpp')
-rw-r--r--src/Wifi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wifi.cpp b/src/Wifi.cpp
index 4da7cc3..e6fdeed 100644
--- a/src/Wifi.cpp
+++ b/src/Wifi.cpp
@@ -1085,7 +1085,7 @@ void USTimer(u32 param)
printf("wifi: RX buffer full\n");
RXTime = 0;
SetStatus(1);
- if (TXCurSlot == -1)
+ if (TXCurSlot == 0xFFFFFFFF)
{
ComStatus &= ~0x1;
RXCounter = 0;