Rover: Make RPM log independant of RC log mask

This commit is contained in:
Gone4Dirt 2021-12-07 11:42:34 +00:00 committed by Peter Barker
parent 33ed08d07e
commit 973cf9a043

View File

@ -109,8 +109,6 @@ void Rover::rpm_update(void)
{ {
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_RC)) { logger.Write_RPM(rpm_sensor);
logger.Write_RPM(rpm_sensor);
}
} }
} }