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:
parent
407817f959
commit
e916902c9e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user