Migrate SPLIT_HAND_PIN to json (#23924)
This commit is contained in:
parent
26e84c513c
commit
f0807ea64f
159 changed files with 243 additions and 800 deletions
|
|
@ -3,7 +3,6 @@
|
|||
#pragma once
|
||||
|
||||
// Split configuration
|
||||
#define SPLIT_HAND_PIN B11
|
||||
#ifdef USE_PLUG_DETECT_PIN
|
||||
# define USB_VBUS_PIN B12
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@
|
|||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "B9",
|
||||
"handedness": {
|
||||
"pin": "B11"
|
||||
},
|
||||
"usb_detect": {
|
||||
"enabled": true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@
|
|||
"max_brightness": 144
|
||||
},
|
||||
"split": {
|
||||
"handedness": {
|
||||
"pin": "B9"
|
||||
},
|
||||
"usb_detect": {
|
||||
"enabled": false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue