mirror of
https://github.com/espressif/esp-idf-template.git
synced 2026-11-16 20:45:44 +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:
1 parent
bbf4cd7259
commit
22ff84e1a7
1 file changed
+1
-1
+1
-1
@@ -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