We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc52aa commit 8ed9028Copy full SHA for 8ed9028
cores/arduino/cortex_handlers.c
@@ -459,8 +459,7 @@ __attribute__ ((section(".isr_vector"))) const DeviceVectors exception_table =
459
460
#endif
461
462
-/* GCC crt0 _start() will initialize C library then call main() */
463
-extern int _start(void);
+extern int main(void);
464
465
/* This is called on processor reset to initialize the device and call main() */
466
void Reset_Handler(void)
@@ -491,7 +490,7 @@ void Reset_Handler(void)
491
490
492
SystemInit();
493
494
- _start();
+ main();
495
496
while (1)
497
;
0 commit comments