aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgblight_types.h
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-06-04 13:04:30 -0500
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-06-04 11:04:30 -0700
commite7711b3b665c7df0a2a1d7272580cc01be28590d (patch)
tree7077e62abc3eb3fb3524092c1acabd164a8ae50c /quantum/rgblight_types.h
parent661a9154ae8178c39f244c687f6e298c11561d08 (diff)
downloadfirmware-e7711b3b665c7df0a2a1d7272580cc01be28590d.tar.gz
firmware-e7711b3b665c7df0a2a1d7272580cc01be28590d.tar.bz2
firmware-e7711b3b665c7df0a2a1d7272580cc01be28590d.zip
Moving rgb typedefs into a single location (#5978)
Because someone named the define poorly Using full relative path as handwired/promethium has a color.h file
Diffstat (limited to 'quantum/rgblight_types.h')
-rw-r--r--quantum/rgblight_types.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/quantum/rgblight_types.h b/quantum/rgblight_types.h
deleted file mode 100644
index 49ef5c8ea..000000000
--- a/quantum/rgblight_types.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * light weight WS2812 lib include
- *
- * Version 2.3 - Nev 29th 2015
- * Author: Tim (cpldcpu@gmail.com)
- *
- * Please do not change this file! All configuration is handled in "ws2812_config.h"
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef RGBLIGHT_TYPES
-#define RGBLIGHT_TYPES
-
-#ifdef __AVR__
- #include <avr/io.h>
-#endif
-
-#ifdef RGBW
- #define LED_TYPE struct cRGBW
-#else
- #define LED_TYPE struct cRGB
-#endif
-
-
-/*
- * Structure of the LED array
- *
- * cRGB: RGB for WS2812S/B/C/D, SK6812, SK6812Mini, SK6812WWA, APA104, APA106
- * cRGBW: RGBW for SK6812RGBW
- */
-
-struct cRGB { uint8_t g; uint8_t r; uint8_t b; };
-struct cRGBW { uint8_t g; uint8_t r; uint8_t b; uint8_t w;};
-
-#endif