Copter: Make RPM log independant of RC log mask

This commit is contained in:
Gone4Dirt 2021-12-07 11:41:33 +00:00 committed by Peter Barker
parent b7801947af
commit 320f7477a5
1 changed files with 1 additions and 3 deletions

View File

@ -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
}