mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Copter: Make RPM log independant of RC log mask
This commit is contained in:
parent
b7801947af
commit
320f7477a5
@ -155,10 +155,8 @@ void Copter::rpm_update(void)
|
|||||||
#if RPM_ENABLED == ENABLED
|
#if RPM_ENABLED == ENABLED
|
||||||
rpm_sensor.update();
|
rpm_sensor.update();
|
||||||
if (rpm_sensor.enabled(0) || rpm_sensor.enabled(1)) {
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user