drivers/rgbled: fix PWM resolution
This commit is contained in:
parent
09a8a83c80
commit
ae45157331
@ -29,7 +29,7 @@
|
||||
/**
|
||||
* @name Set the default resolution to 8-bit per color (for a 24-bit color space)
|
||||
*/
|
||||
#define PWM_RES (255)
|
||||
#define PWM_RES (256)
|
||||
|
||||
|
||||
void rgbled_init(rgbled_t *led, pwm_t pwm, int channel_r, int channel_g, int channel_b)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user