drivers/rgbled: fix PWM resolution

This commit is contained in:
George Hopkins 2017-11-10 15:53:50 +01:00
parent 09a8a83c80
commit ae45157331

View File

@ -29,7 +29,7 @@
/** /**
* @name Set the default resolution to 8-bit per color (for a 24-bit color space) * @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) void rgbled_init(rgbled_t *led, pwm_t pwm, int channel_r, int channel_g, int channel_b)