mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Camera: mark CAMx_TYPE as requiring a reboot
add @RebootRequired: True to the _TYPE parameter metadata. The driver backend for this sensor is allocated once during init at boot; changing the type parameter at runtime has no effect until reboot. Annotate it so GCSes prompt the user to reboot. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
committed by
Peter Barker
co-authored by
Claude Fable 5
parent
4ed2acaced
commit
699b63cf53
@@ -9,6 +9,7 @@ const AP_Param::GroupInfo AP_Camera_Params::var_info[] = {
|
||||
// @DisplayName: Camera shutter (trigger) type
|
||||
// @Description: how to trigger the camera to take a picture
|
||||
// @Values: 0:None, 1:Servo, 2:Relay, 3:GoPro in Solo Gimbal, 4:Mount (Siyi/Topotek/Viewpro/Xacti), 5:MAVLink, 6:MAVLinkCamV2 (Gremsy/AVT), 7:Scripting, 8:RunCam
|
||||
// @RebootRequired: True
|
||||
// @User: Standard
|
||||
AP_GROUPINFO_FLAGS("_TYPE", 1, AP_Camera_Params, type, 0, AP_PARAM_FLAG_ENABLE),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user