@@ -1209,6 +1209,9 @@ typedef enum
12091209
12101210typedef bool (* AFTER_CMD)(int cmdIndex);
12111211
1212+ // Forward routines
1213+ bool wifiAfterCommand (int cmdIndex);
1214+
12121215typedef struct
12131216{
12141217 bool inWebConfig; // This setting is exposed during WiFi/Eth config
@@ -1804,10 +1807,10 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
18041807 // WiFi
18051808 { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.debugWebServer , " debugWebServer" , nullptr , },
18061809 { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.debugWifiState , " debugWifiState" , nullptr , },
1807- { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.enableCaptivePortal , " enableCaptivePortal" , nullptr , },
1808- { 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _uint8_t , 0 , & settings.wifiChannel , " wifiChannel" , nullptr , },
1809- { 1 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.wifiConfigOverAP , " wifiConfigOverAP" , nullptr , },
1810- { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , tWiFiNet, MAX_WIFI_NETWORKS, & settings.wifiNetworks , " wifiNetwork_" , nullptr , },
1810+ { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.enableCaptivePortal , " enableCaptivePortal" , wifiAfterCommand , },
1811+ { 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _uint8_t , 0 , & settings.wifiChannel , " wifiChannel" , wifiAfterCommand , },
1812+ { 1 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.wifiConfigOverAP , " wifiConfigOverAP" , wifiAfterCommand , },
1813+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , tWiFiNet, MAX_WIFI_NETWORKS, & settings.wifiNetworks , " wifiNetwork_" , wifiAfterCommand , },
18111814 { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _uint32_t , 0 , & settings.wifiConnectTimeoutMs , " wifiConnectTimeoutMs" , nullptr , },
18121815
18131816 { 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.outputTipAltitude , " outputTipAltitude" , nullptr , },
0 commit comments