1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

- Fix and add BST task into scheduler.

This commit is contained in:
Larry (TBS) 2016-01-05 17:06:12 +08:00 committed by borisbstyle
parent 560bd745f0
commit cad401da25
5 changed files with 22 additions and 2 deletions

View file

@ -577,9 +577,15 @@ int main(void) {
#ifdef LED_STRIP
setTaskEnabled(TASK_LEDSTRIP, feature(FEATURE_LED_STRIP));
#endif
#ifdef USE_BST
setTaskEnabled(TASK_BST_PROCESS, true);
#endif
while (1) {
scheduler();
#ifdef USE_BST
bstMasterWriteLoop();
#endif
processLoopback();
}
}