Remove commented out code.
This commit is contained in:
@@ -113,7 +113,6 @@ void getSystemProperty() {
|
|||||||
|
|
||||||
void jumpToBootloader() {
|
void jumpToBootloader() {
|
||||||
SCB->AIRCR = 0x5FA<<SCB_AIRCR_VECTKEY_Pos | SCB_AIRCR_SYSRESETREQ_Msk; // Reset the MCU.
|
SCB->AIRCR = 0x5FA<<SCB_AIRCR_VECTKEY_Pos | SCB_AIRCR_SYSRESETREQ_Msk; // Reset the MCU.
|
||||||
// SCB->AIRCR = 0x05fA0002; // If the masked version doesn't work, this should also reset the core.
|
|
||||||
for (;;);
|
for (;;);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user