led: add breathe mode

This commit is contained in:
Beat Küng
2017-03-12 00:08:35 +01:00
committed by Lorenz Meier
parent 30841ee6bf
commit f22fc1c543
5 changed files with 41 additions and 6 deletions
+2
View File
@@ -325,6 +325,8 @@ RGBLED::led()
break;
}
_brightness = (float)led_control_data.leds[0].brightness / 255.f;
send_led_rgb();
}
+2
View File
@@ -247,6 +247,8 @@ RGBLED_PWM::led()
break;
}
_brightness = (float)led_control_data.leds[0].brightness / 255.f;
send_led_rgb();
}