RC_Channel: integrate ZoomType def move out of AP_Camera

This commit is contained in:
Randy Mackay 2023-04-19 10:07:54 +09:00 committed by Andrew Tridgell
parent 14ef3870bc
commit 288de08374
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(AP_Camera::ZoomType::RATE, zoom_step);
return camera->set_zoom(ZoomType::RATE, zoom_step);
}
bool RC_Channel::do_aux_function_camera_manual_focus(const AuxSwitchPos ch_flag)