mirror of https://github.com/ArduPilot/ardupilot
RC_Channel: integrate ZoomType def move out of AP_Camera
This commit is contained in:
parent
14ef3870bc
commit
288de08374
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue