mirror of
https://github.com/espressif/esp-idf-template.git
synced 2025-10-09 11:50:59 +00:00
app_main: Function should return void not int
Thanks to @kolban : http://esp32.com/viewtopic.php?f=13&t=450&p=2030
This commit is contained in:
@@ -11,7 +11,7 @@ esp_err_t event_handler(void *ctx, system_event_t *event)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
int app_main(void)
|
||||
void app_main(void)
|
||||
{
|
||||
nvs_flash_init();
|
||||
system_init();
|
||||
|
Reference in New Issue
Block a user