Mark constants as constexpr

Signed-off-by: Bart Nagel <bart@tremby.net>
pull/778/head
Bart Nagel 5 years ago
parent 9a78f8f887
commit 39a9f8700b

@ -105,8 +105,8 @@ cRGB Haunt::compute(uint8_t *step) {
// BlazingTrail // BlazingTrail
BlazingTrail::BlazingTrail(void) { BlazingTrail::BlazingTrail(void) {
} }
uint8_t hue_start = 50.0 / 360 * 0xff; constexpr uint8_t hue_start = 50.0 / 360 * 0xff;
uint8_t hue_end = 0; constexpr uint8_t hue_end = 0;
cRGB BlazingTrail::compute(uint8_t *step) { cRGB BlazingTrail::compute(uint8_t *step) {
cRGB color; cRGB color;

Loading…
Cancel
Save