Skip to content

Commit b9daf8c

Browse files
committed
WiFi: Add wifiVerifyTables
1 parent 50598ee commit b9daf8c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Firmware/RTK_Everywhere/Developer.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ bool wifiSoftApOn(const char * fileName, uint32_t lineNumber) {return false;}
220220
bool wifiStationOff(const char * fileName, uint32_t lineNumber) {return true;}
221221
bool wifiStationOn(const char * fileName, uint32_t lineNumber) {return false;}
222222
void wifiStopAll() {}
223+
void wifiVerifyTables() {}
223224

224225
#endif // COMPILE_WIFI
225226

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,14 @@ void wifiWaitNoUsers(NetIndex_t index, uintptr_t parameter, bool debug)
960960
}
961961
}
962962

963+
//*********************************************************************
964+
// Verify the WiFi tables
965+
void wifiVerifyTables()
966+
{
967+
// Verify the RTK_WIFI tables
968+
wifi.verifyTables();
969+
}
970+
963971
//*********************************************************************
964972
// Constructor
965973
// Inputs:

Firmware/RTK_Everywhere/support.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -723,9 +723,7 @@ void verifyTables()
723723
mosaicVerifyTables();
724724
correctionVerifyTables();
725725
webServerVerifyTables();
726-
#ifdef COMPILE_WIFI
727-
wifi.verifyTables();
728-
#endif // COMPILE_WIFI
726+
wifiVerifyTables();
729727

730728
if (CORR_NUM >= (int)('x' - 'a'))
731729
reportFatalError("Too many correction sources");

0 commit comments

Comments
 (0)