fix typo and formatting again

This commit is contained in:
James Fitzgerald 2022-07-19 14:04:47 -05:00 committed by Kyle Brown
parent fd73292da0
commit d830ff7293
2 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@
|Key |Description |
|-----------------------|---------------------------------------------------------------------|
|`KC.RESET` |Restarts the keyboard |
|`KC.RLOAD` |Reloads the keyboard software, preserving any serial connections |
|`KC.RELOAD`, `KC.RLD` |Reloads the keyboard software, preserving any serial connections |
|`KC.DEBUG` |Toggle `debug_enabled`, which enables log spew to serial console |
|`KC.GESC` |Escape when tapped, <code>&#96;</code> when pressed with Shift or GUI|
|`KC.BKDL` |Backspace when tapped, Delete when pressed with GUI |

View File

@ -131,7 +131,7 @@ class KeyAttrDict:
make_key(code=30 + offset, names=names)
elif key in ('RESET',):
make_key(names=('RESET',), on_press=handlers.reset)
elif key in ('RELOAD','RLD'):
elif key in ('RELOAD', 'RLD'):
make_key(names=('RELOAD', 'RLD'), on_press=handlers.reload)
elif key in ('BOOTLOADER',):
make_key(names=('BOOTLOADER',), on_press=handlers.bootloader)