mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Fixed problem with feature save via OSD, and better LED strip color display in menu
This commit is contained in:
parent
171b03bfb7
commit
2d83570923
1 changed files with 15 additions and 10 deletions
|
@ -1353,13 +1353,18 @@ void osdExitMenu(void *ptr)
|
||||||
// save local variables to configuration
|
// save local variables to configuration
|
||||||
if (featureBlackbox)
|
if (featureBlackbox)
|
||||||
featureSet(FEATURE_BLACKBOX);
|
featureSet(FEATURE_BLACKBOX);
|
||||||
|
else
|
||||||
|
featureClear(FEATURE_BLACKBOX);
|
||||||
|
|
||||||
if (featureLedstrip)
|
if (featureLedstrip)
|
||||||
featureSet(FEATURE_LED_STRIP);
|
featureSet(FEATURE_LED_STRIP);
|
||||||
|
else
|
||||||
|
featureClear(FEATURE_LED_STRIP);
|
||||||
#if defined(VTX) || defined(USE_RTC6705)
|
#if defined(VTX) || defined(USE_RTC6705)
|
||||||
if (featureVtx)
|
if (featureVtx)
|
||||||
featureSet(FEATURE_VTX);
|
featureSet(FEATURE_VTX);
|
||||||
|
else
|
||||||
|
featureClear(FEATURE_VTX);
|
||||||
#endif // VTX || USE_RTC6705
|
#endif // VTX || USE_RTC6705
|
||||||
|
|
||||||
#ifdef VTX
|
#ifdef VTX
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue