mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_OSD: guard constructor requiring MAVLink with HAL_GCS_ENABLED
OSD_PARAM_NONE comes from mavlink headers
This commit is contained in:
parent
3ec938fae6
commit
40c420e2dc
@ -349,8 +349,10 @@ public:
|
||||
|
||||
static const ParamMetadata _param_metadata[];
|
||||
|
||||
#if HAL_GCS_ENABLED
|
||||
AP_OSD_ParamSetting(uint8_t param_number, bool enabled, uint8_t x, uint8_t y, int16_t key, int8_t idx, int32_t group,
|
||||
int8_t type = OSD_PARAM_NONE, float min = 0.0f, float max = 1.0f, float incr = 0.001f);
|
||||
#endif
|
||||
AP_OSD_ParamSetting(uint8_t param_number);
|
||||
AP_OSD_ParamSetting(const Initializer& initializer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user