mirror of https://github.com/ArduPilot/ardupilot
Copter: Make RPM log independant of RC log mask
This commit is contained in:
parent
b7801947af
commit
320f7477a5
|
@ -155,9 +155,7 @@ void Copter::rpm_update(void)
|
|||
#if RPM_ENABLED == ENABLED
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue