mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Copter: fix baro glitch resolved message in dataflash
Caught by Julien Dubois, thanks!
This commit is contained in:
parent
06c3a0e96c
commit
b8f98aba8f
@ -34,7 +34,7 @@ static int32_t read_barometer(void)
|
||||
if (baro_glitch.glitching()) {
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_BARO, ERROR_CODE_BARO_GLITCH);
|
||||
} else {
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_GPS, ERROR_CODE_ERROR_RESOLVED);
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_BARO, ERROR_CODE_ERROR_RESOLVED);
|
||||
}
|
||||
AP_Notify::flags.baro_glitching = report_baro_glitch;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user