Skip to content

Commit

Permalink
drivers/rgbled: fix PWM resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
george-hopkins committed Nov 10, 2017
1 parent 09a8a83 commit ae45157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rgbled/rgbled.c
Expand Up @@ -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)
Expand Down

0 comments on commit ae45157

Please sign in to comment.