tidy up code and fix backlight bug

This commit is contained in:
VeyPatch 2024-12-03 17:18:20 +01:00
parent 29cd17cdbc
commit 27e9b17189
10 changed files with 23 additions and 51 deletions

View file

@ -11,18 +11,18 @@
#define RP_PWM_USE_PWM5 TRUE
#define HAL_USE_PWM TRUE
#define HAL_USE_SPI TRUE
#define SPLIT_POINTING_ENABLE
#define POINTING_DEVICE_COMBINED
#define HLC_BACKLIGHT_TIMEOUT 120000
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
#if !defined(HLC_TFT_DISPLAY)
#define BACKLIGHT_PIN NO_PIN
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
#endif
#if !defined(HLC_CIRQUE_TRACKPAD)