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:
parent
6c2e58eb4d
commit
12dc6d1ac8
33 changed files with 20 additions and 361 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue