summaryrefslogtreecommitdiff
path: root/keyboards/preonic
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-07-07 11:33:32 -0400
committerJack Humbert <jack.humb@gmail.com>2016-07-07 11:33:34 -0400
commit57e08eb8badc5db2fb44d2df684f32ea48cce411 (patch)
tree51eede58af359c5c98a080ae359b545a23dd5ad8 /keyboards/preonic
parentad43d450ca1b988d196da80e2a745f45f24068f6 (diff)
downloadqmk_firmware-57e08eb8badc5db2fb44d2df684f32ea48cce411.tar.gz
qmk_firmware-57e08eb8badc5db2fb44d2df684f32ea48cce411.zip
updates rgblight implementation, makes non-timer stuff compatible with audio
Diffstat (limited to 'keyboards/preonic')
-rw-r--r--keyboards/preonic/config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h
index 04946f7fbb..3fb978c2f6 100644
--- a/keyboards/preonic/config.h
+++ b/keyboards/preonic/config.h
@@ -62,9 +62,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
)
/* ws2812 RGB LED */
-#define ws2812_PORTREG PORTD
-#define ws2812_DDRREG DDRD
-#define ws2812_pin PD1
+#define RGB_DI_PIN D1
+#define RGBLIGHT_TIMER
#define RGBLED_NUM 28 // Number of LEDs
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17