diff options
Diffstat (limited to 'keyboards/dp60')
-rw-r--r-- | keyboards/dp60/config.h | 1 | ||||
-rw-r--r-- | keyboards/dp60/info.json | 3 | ||||
-rw-r--r-- | keyboards/dp60/keymaps/indicator/led_driver.c | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/dp60/config.h b/keyboards/dp60/config.h index 16df72781b..b1518cb5fb 100644 --- a/keyboards/dp60/config.h +++ b/keyboards/dp60/config.h @@ -34,7 +34,6 @@ //rgb light setting #define RGBLED_NUM 18 -#define RGB_DI_PIN D7 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/dp60/info.json b/keyboards/dp60/info.json index 605c66bb0d..78d7a5abb6 100644 --- a/keyboards/dp60/info.json +++ b/keyboards/dp60/info.json @@ -8,6 +8,9 @@ "pid": "0x00BE", "device_version": "0.0.1" }, + "ws2812": { + "pin": "D7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/dp60/keymaps/indicator/led_driver.c b/keyboards/dp60/keymaps/indicator/led_driver.c index 2a1ac5a385..677eb8af57 100644 --- a/keyboards/dp60/keymaps/indicator/led_driver.c +++ b/keyboards/dp60/keymaps/indicator/led_driver.c @@ -14,11 +14,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#undef RGB_DI_PIN -#define RGB_DI_PIN RGB_INDICATOR_PIN +#undef WS2812_DI_PIN +#define WS2812_DI_PIN RGB_INDICATOR_PIN #define ws2812_setleds indicator_setleds #define ws2812_setleds_pin indicator_setleds_pin -#include "ws2812.c" +#include "ws2812_bitbang.c" void indicator_write(LED_TYPE *start_led, uint8_t num_leds) { |