Improve new backlight (#8018)

Backlight function improvement
This commit is contained in:
3djc
2020-10-16 16:26:47 +02:00
committed by GitHub
parent c62a9b3a66
commit 596738b968
6 changed files with 28 additions and 11 deletions
+1
View File
@@ -274,6 +274,7 @@ extern "C" {
#define isBacklightEnabled() (PWM->PWM_CH_NUM[0].PWM_CDTY != 100)
#define BACKLIGHT_ENABLE() backlightEnable()
#define BACKLIGHT_DISABLE() backlightDisable()
#define BACKLIGHT_FORCED_ON 101
// ADC driver
#define NUM_POTS 3