RC_Channel: set_zoom replaces set_zoom_step

This commit is contained in:
Randy Mackay 2023-04-12 21:36:30 +09:00 committed by Andrew Tridgell
parent 5b7f9c874d
commit 9100123efe
1 changed files with 1 additions and 1 deletions

View File

@ -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)