1
0
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:
chrysn 2024-06-05 22:41:40 +02:00
parent 329f6e4573
commit ad2a031e6c

View File

@ -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 = {