1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Fix BB / Acc reading / Optimize scheduler

This commit is contained in:
borisbstyle 2016-03-01 00:17:20 +01:00
parent c050351cb4
commit 856ceee528
6 changed files with 20 additions and 49 deletions

View file

@ -663,7 +663,7 @@ int main(void) {
init();
/* Setup scheduler */
rescheduleTask(TASK_GYROPID, targetLooptime - INTERRUPT_WAIT_TIME);
rescheduleTask(TASK_GYROPID, targetLooptime);
setTaskEnabled(TASK_GYROPID, true);
setTaskEnabled(TASK_MOTOR, true);