Skip to content
Snippets Groups Projects
Commit b99ae63c authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

HAL_Linux: more generic fix for scheduler issues in example sketches

this ensures drivers can run
parent 30f5e2c3
No related branches found
No related tags found
No related merge requests found
......@@ -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;\
}\
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment