From: Angus Gratton Date: Tue, 27 Sep 2016 09:30:43 +0000 (+1000) Subject: app_main: Return type to void X-Git-Tag: v0.9~14^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6479ef3143ea5058098874181a13749e8945ed9;p=esp-idf app_main: Return type to void Result is not checked --- diff --git a/components/esp32/cpu_start.c b/components/esp32/cpu_start.c index fd46eec282..7b2ccdc609 100644 --- a/components/esp32/cpu_start.c +++ b/components/esp32/cpu_start.c @@ -55,7 +55,7 @@ static bool app_cpu_started = false; static void do_global_ctors(void); static void main_task(void* args); extern void ets_setup_syscalls(void); -extern int app_main(void); +extern void app_main(void); extern int _bss_start; extern int _bss_end;