mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-23 07:17:29 +02:00
fix: missing default statement in a switch in the modem_console example
This commit is contained in:
@ -46,6 +46,7 @@ static esp_err_t http_event_handler(esp_http_client_event_t *evt)
|
|||||||
case HTTP_EVENT_DISCONNECTED:
|
case HTTP_EVENT_DISCONNECTED:
|
||||||
ESP_LOGI(TAG, "HTTP_EVENT_DISCONNECTED");
|
ESP_LOGI(TAG, "HTTP_EVENT_DISCONNECTED");
|
||||||
break;
|
break;
|
||||||
|
default: break;
|
||||||
}
|
}
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
@ -105,4 +106,4 @@ void modem_console_register_http(void)
|
|||||||
.argtable = &http_args
|
.argtable = &http_args
|
||||||
};
|
};
|
||||||
ESP_ERROR_CHECK(esp_console_cmd_register(&http_cmd));
|
ESP_ERROR_CHECK(esp_console_cmd_register(&http_cmd));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user