Skip to content

Commit

Permalink
Fix jsonschema, fix missing mcu_reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Jpe230 authored and dexter93 committed Oct 12, 2022
1 parent 14e3541 commit 90d9af2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/schemas/keyboard.jsonschema
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"unknown",
"usbasploader",
"wb32-dfu",
"sn32_dfu"
"sn32-dfu"
]
},
"bootloader_instructions": {
Expand Down
4 changes: 4 additions & 0 deletions platforms/chibios/bootloaders/sn32_dfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ void enter_bootloader_mode_if_requested(void) {
;
}
}

__attribute__((weak)) void mcu_reset(void) {
NVIC_SystemReset();
}

0 comments on commit 90d9af2

Please sign in to comment.