Copter: remove setting of rotor rpm in heli.cpp

This commit is contained in:
Bill Geyer 2021-02-05 23:55:48 -05:00 committed by Bill Geyer
parent 05e8285f93
commit a89d8cf9fc
1 changed files with 0 additions and 5 deletions

View File

@ -159,11 +159,6 @@ void Copter::heli_update_rotor_speed_targets()
// get rotor control method
uint8_t rsc_control_mode = motors->get_rsc_mode();
#if RPM_ENABLED == ENABLED
// set rpm from rotor speed sensor
motors->set_rpm(rpm_sensor.get_rpm(0));
#endif
switch (rsc_control_mode) {
case ROTOR_CONTROL_MODE_PASSTHROUGH: