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

New defaults auto looptime settings

This commit is contained in:
borisbstyle 2016-02-27 00:36:32 +01:00
parent bc2627b48f
commit 35ce724a22
2 changed files with 11 additions and 5 deletions

View file

@ -670,13 +670,12 @@ int main(void) {
setTaskEnabled(TASK_ACCEL, true);
switch(targetLooptime) {
case(500):
accTargetLooptime = 10000;
accTargetLooptime = 5000;
break;
case(375):
accTargetLooptime = 20000;
break;
case(250):
accTargetLooptime = 30000;
case(125):
accTargetLooptime = 10000;
break;
default:
case(1000):