kopia lustrzana https://github.com/espressif/esp-idf
softap_prov: Changes in the example code as per changes to protocomm_httpd
Signed-off-by: Piyush Shah <piyush@espressif.com>pull/3089/head
rodzic
759b90a5e1
commit
3804c458c7
|
@ -58,7 +58,11 @@ static esp_err_t app_prov_start_service(void)
|
|||
}
|
||||
|
||||
/* Config for protocomm_httpd_start() */
|
||||
protocomm_httpd_config_t pc_config = PROTOCOMM_HTTPD_DEFAULT_CONFIG();
|
||||
protocomm_httpd_config_t pc_config = {
|
||||
.data = {
|
||||
.config = PROTOCOMM_HTTPD_DEFAULT_CONFIG()
|
||||
}
|
||||
};
|
||||
|
||||
/* Start protocomm server on top of HTTP */
|
||||
if (protocomm_httpd_start(g_prov->pc, &pc_config) != ESP_OK) {
|
||||
|
|
|
@ -56,8 +56,11 @@ static esp_err_t app_prov_start_service(void)
|
|||
}
|
||||
|
||||
/* Config for protocomm_httpd_start() */
|
||||
protocomm_httpd_config_t pc_config = PROTOCOMM_HTTPD_DEFAULT_CONFIG();
|
||||
|
||||
protocomm_httpd_config_t pc_config = {
|
||||
.data = {
|
||||
.config = PROTOCOMM_HTTPD_DEFAULT_CONFIG()
|
||||
}
|
||||
};
|
||||
/* Start protocomm server on top of HTTP */
|
||||
if (protocomm_httpd_start(g_prov->pc, &pc_config) != ESP_OK) {
|
||||
ESP_LOGE(TAG, "Failed to start protocomm HTTP server");
|
||||
|
|
Ładowanie…
Reference in New Issue