Skip to content
Snippets Groups Projects
Commit bff1bdda authored by dx's avatar dx Committed by q3k
Browse files

format

parent 5f869a93
Branches
Tags v1.0.0+rc1
1 merge request!120leds: accept floats (0.0 to 1.0) for rgb, with backwards compat
Pipeline #6588 passed
......@@ -107,7 +107,6 @@ void st3m_leds_update_hardware() {
void st3m_leds_set_single_rgb(uint8_t index, float red, float green,
float blue) {
if (red > 1.0) red /= 255.0;
if (green > 1.0) green /= 255.0;
if (blue > 1.0) blue /= 255.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment