mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
11 lines
262 B
C
11 lines
262 B
C
|
// this is included at the end of every sketch
|
||
|
extern "C" __EXPORT int SKETCH_MAIN(int argc, char *argv[]);
|
||
|
int SKETCH_MAIN(int argc, char *argv[])
|
||
|
{
|
||
|
printf("%s starting\n", SKETCHNAME);
|
||
|
hal.init(NULL);
|
||
|
setup();
|
||
|
for(;;) loop();
|
||
|
return OK;
|
||
|
}
|