Plane: Make RPM log independant of RC log mask

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

View File

@ -60,8 +60,6 @@ void Plane::rpm_update(void)
{
rpm_sensor.update();
if (rpm_sensor.enabled(0) || rpm_sensor.enabled(1)) {
if (should_log(MASK_LOG_RC)) {
logger.Write_RPM(rpm_sensor);
}
}
}