Merge pull request #45 from algernon/h/LEDUtils/warning-fix

LEDUtils: Fix the BreathState typedef
pull/46/head
Jesse Vincent 8 years ago committed by GitHub
commit cf62de2bfe

@ -2,10 +2,10 @@
#include "KeyboardConfig.h"
typedef struct BreathState {
typedef struct {
uint8_t brightness = 0; // how bright the LED is
int8_t fadeAmount = 1; // how many points to fade the LED by (can be negative)
};
} BreathState;
cRGB breath_compute (BreathState *state);
cRGB hsv_to_rgb(uint16_t h, uint16_t s, uint16_t v);

Loading…
Cancel
Save