make astyle

pull/365/head
Jesse Vincent 8 years ago
parent 90f5c51386
commit 46d40dd3d5
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -78,7 +78,9 @@ namespace KaleidoscopePlugins {
}
if (!wasZero && !map[r][c])
LEDControl.led_set_crgb_at (r, c, (cRGB){0, 0, 0});
LEDControl.led_set_crgb_at (r, c, (cRGB) {
0, 0, 0
});
}
}
@ -123,8 +125,7 @@ namespace KaleidoscopePlugins {
if (*step >= 0xff - 30) {
color = hsv_to_rgb (0xff - *step, 255, 255);
}
else {
} else {
color = hsv_to_rgb (30, 255, 255);
color.r = min(*step * color.r / 255, 255);

@ -52,7 +52,9 @@ namespace KaleidoscopePlugins {
class Haunt : public StalkerEffect::ColorComputer {
public:
Haunt (const cRGB highlightColor);
Haunt (void) : Haunt ({0x40, 0x80, 0x80}) {};
Haunt (void) : Haunt ( {
0x40, 0x80, 0x80
}) {};
Haunt (void *) : Haunt () {};
virtual cRGB compute (uint8_t *step) final;

Loading…
Cancel
Save