summaryrefslogtreecommitdiffstats
path: root/keyboards/phantom
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-07-07 17:33:32 +0200
committerJack Humbert <jack.humb@gmail.com>2016-07-07 17:33:34 +0200
commit57e08eb8badc5db2fb44d2df684f32ea48cce411 (patch)
tree51eede58af359c5c98a080ae359b545a23dd5ad8 /keyboards/phantom
parentad43d450ca1b988d196da80e2a745f45f24068f6 (diff)
downloadqmk_firmware-57e08eb8badc5db2fb44d2df684f32ea48cce411.tar.gz
qmk_firmware-57e08eb8badc5db2fb44d2df684f32ea48cce411.tar.xz
updates rgblight implementation, makes non-timer stuff compatible with audio
Diffstat (limited to 'keyboards/phantom')
-rw-r--r--keyboards/phantom/config.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/phantom/config.h b/keyboards/phantom/config.h
index d5878766f..983a1d73f 100644
--- a/keyboards/phantom/config.h
+++ b/keyboards/phantom/config.h
@@ -62,13 +62,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underlight configuration
*/
- #define ws2812_PORTREG PORTE
- #define ws2812_DDRREG DDRE
- #define ws2812_pin 2
- #define RGBLED_NUM 20 // Number of LEDs
- #define RGBLIGHT_HUE_STEP 10
- #define RGBLIGHT_SAT_STEP 17
- #define RGBLIGHT_VAL_STEP 17
+#define RGB_DI_PIN E2
+#define RGBLIGHT_TIMER
+#define RGBLED_NUM 20 // Number of LEDs
+#define RGBLIGHT_HUE_STEP 10
+#define RGBLIGHT_SAT_STEP 17
+#define RGBLIGHT_VAL_STEP 17
/*
* Feature disable options