fl16: Change backlight PWM frequency to 24kHz
The default of 2048Hz causes loud audible noise. Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD4
|
||||
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
|
||||
#define BACKLIGHT_BREATHING
|
||||
// Change PWM frequency to 24kHz, the default of 2048Hz causes loud noise
|
||||
#define BACKLIGHT_PWM_PERIOD BACKLIGHT_PWM_COUNTER_FREQUENCY / 24000
|
||||
|
||||
// I2C for the RBG controller
|
||||
#define I2C_DRIVER I2CD1
|
||||
|
||||
Reference in New Issue
Block a user