mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Rover: change sensor health check to prevent false positive
This commit is contained in:
parent
2ab03c2b83
commit
93f2de6780
@ -209,7 +209,7 @@ void Rover::send_extended_status1(mavlink_channel_t chan)
|
||||
|
||||
#if FRSKY_TELEM_ENABLED == ENABLED
|
||||
// give mask of error flags to Frsky_Telemetry
|
||||
uint32_t sensors_error_flags = (control_sensors_health ^ control_sensors_enabled) & control_sensors_present;
|
||||
uint32_t sensors_error_flags = !control_sensors_health & control_sensors_enabled & control_sensors_present;
|
||||
frsky_telemetry.update_sensor_status_flags(sensors_error_flags);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user