mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Remove canvas configuration in cli (#13595)
* Remove canvas configuration in cli * Add gating for OSD_CANVAS_SIZE_DEBUG
This commit is contained in:
parent
d778a4fdfe
commit
764d82d4fd
1 changed files with 2 additions and 0 deletions
|
@ -1522,8 +1522,10 @@ const clivalue_t valueTable[] = {
|
|||
{ "osd_aux_channel", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 1, MAX_SUPPORTED_RC_CHANNEL_COUNT }, PG_OSD_CONFIG, offsetof(osdConfig_t, aux_channel) },
|
||||
{ "osd_aux_scale", VAR_UINT16 | MASTER_VALUE, .config.minmaxUnsigned = { 1, 1000 }, PG_OSD_CONFIG, offsetof(osdConfig_t, aux_scale) },
|
||||
{ "osd_aux_symbol", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 0, 255 }, PG_OSD_CONFIG, offsetof(osdConfig_t, aux_symbol) },
|
||||
#ifdef OSD_CANVAS_SIZE_DEBUG
|
||||
{ "osd_canvas_width", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 0, 63 }, PG_OSD_CONFIG, offsetof(osdConfig_t, canvas_cols) },
|
||||
{ "osd_canvas_height", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 0, 31 }, PG_OSD_CONFIG, offsetof(osdConfig_t, canvas_rows) },
|
||||
#endif
|
||||
#ifdef USE_CRAFTNAME_MSGS
|
||||
{ "osd_craftname_msgs", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_OSD_CONFIG, offsetof(osdConfig_t, osd_craftname_msgs) },
|
||||
#endif //USE_CRAFTNAME_MSGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue