1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Fixed problem with feature save via OSD, and better LED strip color display in menu

This commit is contained in:
Marcin Baliniak 2016-09-25 11:49:08 +02:00
parent 171b03bfb7
commit 2d83570923

View file

@ -1353,13 +1353,18 @@ void osdExitMenu(void *ptr)
// save local variables to configuration
if (featureBlackbox)
featureSet(FEATURE_BLACKBOX);
else
featureClear(FEATURE_BLACKBOX);
if (featureLedstrip)
featureSet(FEATURE_LED_STRIP);
else
featureClear(FEATURE_LED_STRIP);
#if defined(VTX) || defined(USE_RTC6705)
if (featureVtx)
featureSet(FEATURE_VTX);
else
featureClear(FEATURE_VTX);
#endif // VTX || USE_RTC6705
#ifdef VTX