mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Increase PWM frequency to suppress audio interference (issue #195)
This commit is contained in:
1 parent
77785d14c2
commit
ffddf9a9b3
1 file changed
+1
-1
@@ -31,7 +31,7 @@
|
|||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PWM_FREQ 320
|
#define PWM_FREQ 4000
|
||||||
#define DUTY_CYCLE_LEVELS 64
|
#define DUTY_CYCLE_LEVELS 64
|
||||||
|
|
||||||
#define DUTY_CYCLE_ON_VALUE GPIO_PIN_MASK(GPIO_PIN_BACKLIGHT)
|
#define DUTY_CYCLE_ON_VALUE GPIO_PIN_MASK(GPIO_PIN_BACKLIGHT)
|
||||||
|
|||||||
Reference in new issue
Block a user