diff --git a/lpc1xxx/LPC1xxx_startup.c b/lpc1xxx/LPC1xxx_startup.c index db54ec3..f234271 100644 --- a/lpc1xxx/LPC1xxx_startup.c +++ b/lpc1xxx/LPC1xxx_startup.c @@ -36,7 +36,7 @@ extern unsigned char _bss; extern unsigned char _ebss; // Prototype the required startup functions -extern void main(void); +extern int main(void); // The entry point of the application, prepare segments, // initialize the cpu and execute main()