@@ -1205,7 +1205,7 @@ typedef enum
12051205typedef bool (* AFTER_CMD)(const char *settingName, void *settingData, int settingType);
12061206
12071207// Forward routines
1208- bool wifiAfterCommand (int cmdIndex );
1208+ bool wifiAfterCommand (const char *settingName, void *settingData, int settingType );
12091209
12101210typedef struct
12111211{
@@ -1799,10 +1799,10 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
17991799 // WiFi
18001800 { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.debugWebServer , " debugWebServer" , nullptr , },
18011801 { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.debugWifiState , " debugWifiState" , nullptr , },
1802- { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.enableCaptivePortal , " enableCaptivePortal" , wifiAfterCommand , },
1803- { 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _uint8_t , 0 , & settings.wifiChannel , " wifiChannel" , wifiAfterCommand , },
1804- { 1 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.wifiConfigOverAP , " wifiConfigOverAP" , wifiAfterCommand , },
1805- { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , tWiFiNet, MAX_WIFI_NETWORKS, & settings.wifiNetworks , " wifiNetwork_" , wifiAfterCommand , },
1802+ { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.enableCaptivePortal , " enableCaptivePortal" , nullptr , },
1803+ { 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _uint8_t , 0 , & settings.wifiChannel , " wifiChannel" , nullptr , },
1804+ { 1 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.wifiConfigOverAP , " wifiConfigOverAP" , nullptr , },
1805+ { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , tWiFiNet, MAX_WIFI_NETWORKS, & settings.wifiNetworks , " wifiNetwork_" , nullptr , },
18061806 { 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _uint32_t , 0 , & settings.wifiConnectTimeoutMs , " wifiConnectTimeoutMs" , nullptr , },
18071807
18081808 { 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.outputTipAltitude , " outputTipAltitude" , nullptr , },
0 commit comments