1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

Merge pull request #7999 from george-hopkins/rgbled-resolution

drivers/rgbled: fix PWM resolution
This commit is contained in:
Alexandre Abadie 2017-11-12 14:20:08 +01:00 committed by GitHub
commit e90710a6e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)