|
|
|
@ -75,7 +75,7 @@ int16_t Copter::read_sonar(void)
@@ -75,7 +75,7 @@ int16_t Copter::read_sonar(void)
|
|
|
|
|
void Copter::rpm_update(void) |
|
|
|
|
{ |
|
|
|
|
rpm_sensor.update(); |
|
|
|
|
if (rpm_sensor.healthy(0) || rpm_sensor.healthy(1)) { |
|
|
|
|
if (rpm_sensor.enabled(0) || rpm_sensor.enabled(1)) { |
|
|
|
|
if (should_log(MASK_LOG_RCIN)) { |
|
|
|
|
DataFlash.Log_Write_RPM(rpm_sensor); |
|
|
|
|
} |
|
|
|
|