1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

changed alarm return states, so cf initialisation will cause visible LED blinks...

This commit is contained in:
Corvus Corax 2013-06-23 19:26:17 +02:00
parent 407817f959
commit e916902c9e

View File

@ -441,7 +441,11 @@ static int32_t complementaryFilter(struct data *this, float gyro[3], float accel
return 2;
}
return 0;
if (this->init) {
return 0;
} else {
return 2; // return "critical" for now, so users can see the zeroing period, switch to more graceful notification later
}
}
static void flightStatusUpdatedCb(__attribute__((unused)) UAVObjEvent *ev)