We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13e053 commit 04eef22Copy full SHA for 04eef22
Firmware/RTK_Surveyor/WiFi.ino
@@ -236,7 +236,7 @@ bool wifiStartAP(bool forceAP)
236
// Before starting AP mode, be sure we have default WiFi protocols enabled.
237
// esp_wifi_set_protocol requires WiFi to be started
238
esp_err_t response =
239
- esp_wifi_set_protocol(WIFI_IF_STA, WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N);
+ esp_wifi_set_protocol(WIFI_IF_AP, WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N);
240
if (response != ESP_OK)
241
systemPrintf("wifiStartAP: Error setting WiFi protocols: %s\r\n", esp_err_to_name(response));
242
else
0 commit comments