summaryrefslogtreecommitdiffstats
path: root/keyboards/iris/split_rgb.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2018-07-22 08:56:14 -0500
committerDrashna Jaelre <drashna@live.com>2018-07-22 06:56:14 -0700
commited99581161b35b383ee9e1f5c070574524e9ea36 (patch)
treef0a8cb293512fac2e64b4ab413a47d3ae031da60 /keyboards/iris/split_rgb.c
parent83d33caf63fc2270de576c2163f39ace400bc328 (diff)
Convert Iris to use SPLIT_KEYBOARD (#3458)
* convert iris to split-common * Fix build error
Diffstat (limited to 'keyboards/iris/split_rgb.c')
-rw-r--r--keyboards/iris/split_rgb.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/keyboards/iris/split_rgb.c b/keyboards/iris/split_rgb.c
deleted file mode 100644
index 6d7cb44cf0..0000000000
--- a/keyboards/iris/split_rgb.c
+++ /dev/null
@@ -1,41 +0,0 @@
-#include <stdint.h>
-#include <stdbool.h>
-#include "split_util.h"
-#include "progmem.h"
-#include "print.h"
-#include "rgblight.h"
-
-#ifdef USE_I2C
-# include "i2c.h"
-#else // USE_SERIAL
-# include "serial.h"
-#endif
-
-
-rgblight_config_t rgblight_config;
-
-void rgblight_slave_update(void) {
- //rgblight_effect_christmas();
-}
-
-
-void rgblight_set(void) {
- if (rgblight_config.enable) {
- #ifdef RGBW
- ws2812_setleds_rgbw(led, RGBLED_NUM);
- #else
- ws2812_setleds(led, RGBLED_NUM);
- #endif
- } else {
- for (uint8_t i = 0; i < RGBLED_NUM; i++) {
- led[i].r = 0;
- led[i].g = 0;
- led[i].b = 0;
- }
- #ifdef RGBW
- ws2812_setleds_rgbw(led, RGBLED_NUM);
- #else
- ws2812_setleds(led, RGBLED_NUM);
- #endif
- }
-}