Merge pull request #470 from keyboardio/hardware/atmegakeyboard/overrideable-crgb

hardware/ATMegaKeyboard: Only define cRGB if required
pull/471/head
Jesse Vincent 6 years ago committed by GitHub
commit eedce63e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,12 +29,16 @@
#include <avr/wdt.h>
#ifndef CRGB
struct cRGB {
uint8_t r, g, b;
};
#define CRGB(r,g,b) (cRGB){b, g, r}
#endif
#define ROW_PIN_LIST(...) __VA_ARGS__
#define COL_PIN_LIST(...) __VA_ARGS__

Loading…
Cancel
Save