[usb] If needed, reset the device inside Calculator::Poll

Change-Id: I2d9e2eef4e04b1042a2524a4267569324ad8bcce
This commit is contained in:
Léa Saviot
2018-04-11 13:59:52 +02:00
parent b566676a76
commit 555ced4941
6 changed files with 15 additions and 17 deletions

View File

@@ -103,7 +103,6 @@ void coreReset() {
}
void jumpReset() {
shutdown();
uint32_t * stackPointerAddress = reinterpret_cast<uint32_t *>(0x08000000);
uint32_t * resetHandlerAddress = reinterpret_cast<uint32_t *>(0x08000004);
set_msp(*stackPointerAddress);