From 8f6c228adbfec98828f0411f62bab07f96e5c020 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Feb 2023 16:40:49 +1100 Subject: Move `SOFT_SERIAL_PIN` to data driven (#19863) --- keyboards/sofle/keyhive/config.h | 3 --- keyboards/sofle/keyhive/info.json | 3 +++ keyboards/sofle/rev1/config.h | 3 --- keyboards/sofle/rev1/info.json | 3 +++ 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'keyboards/sofle') diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h index 127dbc38d5..a3caf29ac4 100755 --- a/keyboards/sofle/keyhive/config.h +++ b/keyboards/sofle/keyhive/config.h @@ -36,9 +36,6 @@ #define TAP_CODE_DELAY 10 -// Communication between sides -#define SOFT_SERIAL_PIN D2 - // OLED settings #define OLED_TIMEOUT 80000 #define OLED_BRIGHTNESS 90 diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json index ac6dd82fcd..b8e0cccbab 100644 --- a/keyboards/sofle/keyhive/info.json +++ b/keyboards/sofle/keyhive/info.json @@ -6,6 +6,9 @@ "pid": "0x1287", "device_version": "0.0.2" }, + "split": { + "soft_serial_pin": "D2" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/sofle/rev1/config.h b/keyboards/sofle/rev1/config.h index 32f4c1efca..8d928df4c6 100644 --- a/keyboards/sofle/rev1/config.h +++ b/keyboards/sofle/rev1/config.h @@ -15,6 +15,3 @@ #define ENCODER_RESOLUTION 2 #define TAP_CODE_DELAY 10 - -/* communication between sides */ -#define SOFT_SERIAL_PIN D2 diff --git a/keyboards/sofle/rev1/info.json b/keyboards/sofle/rev1/info.json index 971ef6e955..911f90ccbc 100644 --- a/keyboards/sofle/rev1/info.json +++ b/keyboards/sofle/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0x0287", "device_version": "0.0.1" }, + "split": { + "soft_serial_pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { -- cgit v1.2.3