mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-06 06:42:54 +08:00
Sub: Make RPM log independant of RC log mask
This commit is contained in:
@@ -79,9 +79,7 @@ void Sub::rpm_update(void)
|
||||
{
|
||||
rpm_sensor.update();
|
||||
if (rpm_sensor.enabled(0) || rpm_sensor.enabled(1)) {
|
||||
if (should_log(MASK_LOG_RCIN)) {
|
||||
logger.Write_RPM(rpm_sensor);
|
||||
}
|
||||
logger.Write_RPM(rpm_sensor);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user