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:
Angus Gratton 2016-11-14 10:30:39 +11:00
parent bbf4cd7259
commit 22ff84e1a7
1 changed files with 1 additions and 1 deletions

View File

@ -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();