mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 15:55:48 +03:00
Added missing SDCARD and VTX config items in CLI diff
This commit is contained in:
parent
4e39aa2a96
commit
1ee2e40c23
1 changed files with 15 additions and 0 deletions
|
@ -1263,6 +1263,9 @@ static adjustmentRange_t adjustmentRangesCopy[MAX_ADJUSTMENT_RANGE_COUNT];
|
||||||
#ifdef LED_STRIP
|
#ifdef LED_STRIP
|
||||||
static ledStripConfig_t ledStripConfigCopy;
|
static ledStripConfig_t ledStripConfigCopy;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef USE_SDCARD
|
||||||
|
static sdcardConfig_t sdcardConfigCopy;
|
||||||
|
#endif
|
||||||
#ifdef OSD
|
#ifdef OSD
|
||||||
static osdConfig_t osdConfigCopy;
|
static osdConfig_t osdConfigCopy;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1585,6 +1588,12 @@ static const cliCurrentAndDefaultConfig_t *getCurrentAndDefaultConfigs(pgn_t pgn
|
||||||
ret.defaultConfig = ledStripConfig();
|
ret.defaultConfig = ledStripConfig();
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef USE_SDCARD
|
||||||
|
case PG_SDCARD_CONFIG:
|
||||||
|
ret.currentConfig = &sdcardConfigCopy;
|
||||||
|
ret.defaultConfig = sdcardConfig();
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#ifdef OSD
|
#ifdef OSD
|
||||||
case PG_OSD_CONFIG:
|
case PG_OSD_CONFIG:
|
||||||
ret.currentConfig = &osdConfigCopy;
|
ret.currentConfig = &osdConfigCopy;
|
||||||
|
@ -1643,6 +1652,12 @@ static const cliCurrentAndDefaultConfig_t *getCurrentAndDefaultConfigs(pgn_t pgn
|
||||||
ret.defaultConfig = beeperDevConfig();
|
ret.defaultConfig = beeperDevConfig();
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef VTX
|
||||||
|
case PG_VTX_CONFIG:
|
||||||
|
ret.currentConfig = &vtxConfigCopy;
|
||||||
|
ret.defaultConfig = vtxConfig();
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#ifdef USE_MAX7456
|
#ifdef USE_MAX7456
|
||||||
case PG_VCD_CONFIG:
|
case PG_VCD_CONFIG:
|
||||||
ret.currentConfig = &vcdProfileCopy;
|
ret.currentConfig = &vcdProfileCopy;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue