mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2026-02-23 18:02:36 +00:00
Fix serial speed DD configuration & migrate keyboards (#25546)
* Fix serial speed DD configuration - Fixes incorrect SOFT_SERIAL_SPEED mapping - Renames key split.soft_serial_speed -> split.serial.speed - Migrates keyoards that configure this, and remove configuration from keyboards that do not differ from the default behaviour - Add deprecation notice and migration support
This commit is contained in:
@@ -477,6 +477,9 @@ def _extract_split_serial(info_data, config_c):
|
||||
if 'soft_serial_pin' in split:
|
||||
split['serial'] = split.get('serial', {})
|
||||
split['serial']['pin'] = split.pop('soft_serial_pin')
|
||||
if 'soft_serial_speed' in split:
|
||||
split['serial'] = split.get('serial', {})
|
||||
split['serial']['speed'] = split.pop('soft_serial_speed')
|
||||
|
||||
|
||||
def _extract_split_transport(info_data, config_c):
|
||||
|
||||
Reference in New Issue
Block a user