wip model100 reboot

pull/1148/head
Jesse Vincent 3 years ago
parent aba8c9ee66
commit cd41471643
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -238,6 +238,10 @@ void Model100::enableHardwareTestMode() {
KeyScanner::setKeyscanInterval(2); KeyScanner::setKeyscanInterval(2);
} }
void Model100::rebootBootloader() {
NVIC_SystemReset();
}
#endif #endif
} // namespace keyboardio } // namespace keyboardio

@ -156,7 +156,7 @@ class Model100 : public kaleidoscope::device::Base<Model100Props> {
auto serialPort() -> decltype(Serial) & { auto serialPort() -> decltype(Serial) & {
return Serial; return Serial;
} }
static void rebootBootloader();
static void enableHardwareTestMode(); static void enableHardwareTestMode();
}; };

Loading…
Cancel
Save