test: set all leds to logo

Because that's exactly what we rely on right now - zalloc sets it to 0 which
is type logo.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-10-05 09:15:01 +10:00
parent 9e5047976b
commit d282590746

View File

@@ -171,6 +171,7 @@ test_read_led(struct ratbag_led *led)
led->color.blue = t_led.color.blue;
led->hz = t_led.hz;
led->brightness = t_led.brightness;
led->type = RATBAG_LED_TYPE_LOGO;
}
static int