mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
FIX: Hard fault on dump of settings if no OSD selected (#12171)
This commit is contained in:
parent
738ed32cff
commit
2417d50d89
1 changed files with 1 additions and 2 deletions
|
@ -1467,11 +1467,10 @@ const clivalue_t valueTable[] = {
|
|||
{ "osd_aux_symbol", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 0, 255 }, PG_OSD_CONFIG, offsetof(osdConfig_t, aux_symbol) },
|
||||
{ "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 // end of #ifdef USE_OSD
|
||||
|
||||
#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
|
||||
#endif // end of #ifdef USE_OSD
|
||||
|
||||
// PG_SYSTEM_CONFIG
|
||||
#if defined(STM32F4) || defined(STM32G4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue