AP_Camera:fix OPTIONS bitmask

This commit is contained in:
Henry Wurzburg 2024-01-03 07:12:12 -06:00 committed by Randy Mackay
parent 4765ba8218
commit e55702fe3c
2 changed files with 2 additions and 3 deletions

View File

@ -37,8 +37,7 @@ public:
CLASS_NO_COPY(AP_Camera_Backend);
enum CAMOPTIONS {
NONE = 0,
REC_ARM_DISARM = 1, // Recording start/stop on Arm/Disarm
REC_ARM_DISARM = 0, // Recording start/stop on Arm/Disarm
};
// init - performs any required initialisation

View File

@ -77,7 +77,7 @@ const AP_Param::GroupInfo AP_Camera_Params::var_info[] = {
// @Param: _OPTIONS
// @DisplayName: Camera options
// @Description: Camera options bitmask
// @Bitmask: 0:None,1: Recording Starts at arming and stops at disarming
// @Bitmask: 0:Recording Starts at arming and stops at disarming
// @User: Standard
AP_GROUPINFO("_OPTIONS", 10, AP_Camera_Params, options, 0),