Skip to content

Commit

Permalink
cores: Update prototype declaration of entrypoint
Browse files Browse the repository at this point in the history
Fix compile error by changing prototype declaration of entrypoint.

refs #16403
  • Loading branch information
KazuyaHioki authored and SPRESENSE committed Nov 7, 2023
1 parent 4ecee88 commit a3f2d34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void setupUSB() { }
void serialEventRun(void);
void serialEvent(void);

int spresense_main(void)
int spresense_main(int argc, char *argv[])
{
int r = boardctl(BOARDIOC_INIT, 0);
if (r) printf("WARNING: Something wrong during board initialization\n");
Expand Down

0 comments on commit a3f2d34

Please sign in to comment.