1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Improve performane on all targets // remove emf_avoidance

This commit is contained in:
borisbstyle 2016-02-27 15:56:45 +01:00
parent 35ce724a22
commit a5278740bd
3 changed files with 12 additions and 12 deletions

View file

@ -668,14 +668,12 @@ int main(void) {
setTaskEnabled(TASK_GYROPID, true);
if(sensors(SENSOR_ACC)) {
setTaskEnabled(TASK_ACCEL, true);
switch(targetLooptime) {
switch(targetLooptime) { // Switch statement kept in place to change acc rates in the future
case(500):
accTargetLooptime = 5000;
break;
case(375):
case(250):
case(125):
accTargetLooptime = 10000;
accTargetLooptime = 1000;
break;
default:
case(1000):