mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Adding OSD quick menu (#12977)
* QUICK CMS menu * Added RPM LIMIT to quick menu * rpm_limiter csm step = 100 * Renamings + USE_OSD_QUICK_MENU define * Small fixes * Style fixes * tests makefile fix * Activate quick menu by default, if defined USE_OSD_QUICK_MENU * Changed .c/.h license headers to a modern one
This commit is contained in:
parent
2edc5fb7d5
commit
9332248742
12 changed files with 308 additions and 10 deletions
|
@ -1367,7 +1367,9 @@ const clivalue_t valueTable[] = {
|
|||
{ "osd_ah_invert", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_OSD_CONFIG, offsetof(osdConfig_t, ahInvert) },
|
||||
{ "osd_logo_on_arming", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OSD_LOGO_ON_ARMING }, PG_OSD_CONFIG, offsetof(osdConfig_t, logo_on_arming) },
|
||||
{ "osd_logo_on_arming_duration",VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 5, 50 }, PG_OSD_CONFIG, offsetof(osdConfig_t, logo_on_arming_duration) },
|
||||
|
||||
#ifdef USE_QUICK_OSD_MENU
|
||||
{ "osd_use_quick_menu", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_OSD_CONFIG, offsetof(osdConfig_t, osd_use_quick_menu) },
|
||||
#endif // USE_QUICK_OSD_MENU
|
||||
{ "osd_tim1", VAR_UINT16 | MASTER_VALUE, .config.minmaxUnsigned = { 0, INT16_MAX }, PG_OSD_CONFIG, offsetof(osdConfig_t, timers[OSD_TIMER_1]) },
|
||||
{ "osd_tim2", VAR_UINT16 | MASTER_VALUE, .config.minmaxUnsigned = { 0, INT16_MAX }, PG_OSD_CONFIG, offsetof(osdConfig_t, timers[OSD_TIMER_2]) },
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue