summaryrefslogtreecommitdiff
path: root/keyboards/elephant42
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 16:40:49 +1100
committerGitHub <noreply@github.com>2023-02-17 16:40:49 +1100
commit8f6c228adbfec98828f0411f62bab07f96e5c020 (patch)
treee3e7c485942dd7a089b34bfb17be8ef644829f12 /keyboards/elephant42
parent2da0827d4ffbcba161126d6001f370e97d0172a8 (diff)
Move `SOFT_SERIAL_PIN` to data driven (#19863)
Diffstat (limited to 'keyboards/elephant42')
-rw-r--r--keyboards/elephant42/config.h2
-rw-r--r--keyboards/elephant42/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/elephant42/config.h b/keyboards/elephant42/config.h
index 158669a9f2..49ff44755a 100644
--- a/keyboards/elephant42/config.h
+++ b/keyboards/elephant42/config.h
@@ -36,8 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define SOFT_SERIAL_PIN D2
-
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
# define RGBLED_SPLIT { 27, 27 }
diff --git a/keyboards/elephant42/info.json b/keyboards/elephant42/info.json
index 7dd1656d1c..161ec776cd 100644
--- a/keyboards/elephant42/info.json
+++ b/keyboards/elephant42/info.json
@@ -8,6 +8,9 @@
"pid": "0x0721",
"device_version": "0.0.1"
},
+ "split": {
+ "soft_serial_pin": "D2"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {