e1
This commit is contained in:
@ -14,7 +14,8 @@ Color shader(Status* status) {
|
||||
switch (status->mode) {
|
||||
case LIGHT_MODE_RAINBOW:
|
||||
return hsv_to_color(status->time * 120 + status->index * 6, 1, 1);
|
||||
}
|
||||
|
||||
return hex_to_color(0xFFFFFF);
|
||||
default:
|
||||
return hex_to_color(0xFFFFFF);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user