mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
drivers/ws281x: Return correct number of written elements
This commit is contained in:
parent
329f6e4573
commit
ad2a031e6c
@ -36,7 +36,7 @@ static int set_rgb_led(const void *dev, const phydat_t *res)
|
||||
ws281x_set(ws281x, idx, color);
|
||||
}
|
||||
ws281x_write(ws281x);
|
||||
return 1;
|
||||
return 3;
|
||||
}
|
||||
|
||||
const saul_driver_t ws281x_saul_driver = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user