mirror of https://github.com/ArduPilot/ardupilot
HAL_Linux: more generic fix for scheduler issues in example sketches
this ensures drivers can run
This commit is contained in:
parent
30f5e2c37f
commit
b99ae63cbb
|
@ -9,7 +9,8 @@ int main (int argc, char * const argv[]) { \
|
|||
hal.init(argc, argv); \
|
||||
setup();\
|
||||
hal.scheduler->system_initialized(); \
|
||||
for(;;) loop();\
|
||||
for(;;) { loop(); \
|
||||
hal.scheduler->delay_microseconds(500); } \
|
||||
return 0;\
|
||||
}\
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue