Migrate SPLIT_HAND_PIN to json (#23924)

This commit is contained in:
Joel Challis 2024-07-13 13:29:16 +01:00 committed by GitHub
parent 26e84c513c
commit f0807ea64f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
159 changed files with 243 additions and 800 deletions

View file

@ -3,7 +3,6 @@
#pragma once
// Split configuration
#define SPLIT_HAND_PIN B11
#ifdef USE_PLUG_DETECT_PIN
# define USB_VBUS_PIN B12
#endif

View file

@ -7,6 +7,9 @@
},
"split": {
"soft_serial_pin": "B9",
"handedness": {
"pin": "B11"
},
"usb_detect": {
"enabled": true
}

View file

@ -3,7 +3,6 @@
#pragma once
// Split configuration
#define SPLIT_HAND_PIN B9
#define USB_VBUS_PIN B12
#define SERIAL_USART_DRIVER SD3
#define SERIAL_USART_PIN_SWAP

View file

@ -6,6 +6,9 @@
"max_brightness": 144
},
"split": {
"handedness": {
"pin": "B9"
},
"usb_detect": {
"enabled": false
}