From f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 13:14:29 +1100 Subject: Move LED indicator config to data driven (#19800) --- keyboards/pos78/config.h | 5 ----- keyboards/pos78/info.json | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'keyboards/pos78') diff --git a/keyboards/pos78/config.h b/keyboards/pos78/config.h index 608565adf6..bae2a91131 100644 --- a/keyboards/pos78/config.h +++ b/keyboards/pos78/config.h @@ -42,11 +42,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Hardware LED pins*/ -#define LED_CAPS_LOCK_PIN D4 -#define LED_NUM_LOCK_PIN D2 -#define LED_PIN_ON_STATE 1 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/pos78/info.json b/keyboards/pos78/info.json index cca5c4ac89..6e8788300f 100644 --- a/keyboards/pos78/info.json +++ b/keyboards/pos78/info.json @@ -8,6 +8,10 @@ "pid": "0x7878", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "D4", + "num_lock": "D2" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3