From 22ff84e1a7f2ccc143f2674956fe8d306481eac1 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 14 Nov 2016 10:30:39 +1100 Subject: [PATCH] app_main: Function should return void not int Thanks to @kolban : http://esp32.com/viewtopic.php?f=13&t=450&p=2030 --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 0a619ed..4e77489 100644 --- a/main/main.c +++ b/main/main.c @@ -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();