mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Camera: move ZoomType def to separate .h
This commit is contained in:
committed by
Andrew Tridgell
parent
a8c593d44c
commit
a1ae189b17
@@ -21,7 +21,7 @@ bool AP_Camera_Scripting::record_video(bool start_recording)
|
||||
}
|
||||
|
||||
// set zoom specified as a rate or percentage
|
||||
bool AP_Camera_Scripting::set_zoom(AP_Camera::ZoomType zoom_type, float zoom_value)
|
||||
bool AP_Camera_Scripting::set_zoom(ZoomType zoom_type, float zoom_value)
|
||||
{
|
||||
_cam_state.zoom_type = (uint8_t)zoom_type;
|
||||
_cam_state.zoom_value = zoom_value;
|
||||
|
||||
Reference in New Issue
Block a user