chore: remove unused PWM_BACKLIGHT define (#4945)
Most of the code was removed between OTX 2.2 and 2.3
This commit is contained in:
@@ -208,11 +208,6 @@ void per10ms()
|
||||
telemetryInterrupt10ms();
|
||||
|
||||
// These moved here from evalFlightModeMixes() to improve beep trigger reliability.
|
||||
#if defined(PWM_BACKLIGHT)
|
||||
if ((g_tmr10ms&0x03) == 0x00)
|
||||
backlightFade(); // increment or decrement brightness until target brightness is reached
|
||||
#endif
|
||||
|
||||
#if !defined(AUDIO)
|
||||
if (mixWarning & 1) if(((g_tmr10ms&0xFF)== 0)) AUDIO_MIX_WARNING(1);
|
||||
if (mixWarning & 2) if(((g_tmr10ms&0xFF)== 64) || ((g_tmr10ms&0xFF)== 72)) AUDIO_MIX_WARNING(2);
|
||||
|
||||
Reference in New Issue
Block a user