mirror of https://github.com/ArduPilot/ardupilot
RC_Channel: set_zoom replaces set_zoom_step
This commit is contained in:
parent
5b7f9c874d
commit
9100123efe
|
@ -945,7 +945,7 @@ bool RC_Channel::do_aux_function_camera_zoom(const AuxSwitchPos ch_flag)
|
|||
zoom_step = -1; // zoom out
|
||||
break;
|
||||
}
|
||||
return camera->set_zoom_step(zoom_step);
|
||||
return camera->set_zoom(AP_Camera::ZoomType::RATE, zoom_step);
|
||||
}
|
||||
|
||||
bool RC_Channel::do_aux_function_camera_manual_focus(const AuxSwitchPos ch_flag)
|
||||
|
|
Loading…
Reference in New Issue