Skip to content

Commit

Permalink
remove sta mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Wilson committed Jan 16, 2025
1 parent cedd88b commit 90e1fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/http_server/http_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static esp_err_t check_is_same_network(httpd_req_t * req){

if (err == ESP_OK) {
switch (mode) {
case WIFI_MODE_STA:
case WIFI_MODE_AP:
case WIFI_MODE_APSTA:
ESP_LOGI(TAG, "WiFi is in AP+/STA mode.");
return ESP_OK;
Expand Down

0 comments on commit 90e1fa4

Please sign in to comment.