Minor stuff (2)

This commit is contained in:
Aurora
2016-10-16 23:34:26 +02:00
parent 1e39c999f9
commit 7339f57138
6 changed files with 11 additions and 9 deletions

View File

@@ -113,6 +113,6 @@ void __attribute__((noreturn)) mainHandler(u32 *regs, u32 type)
*(ExceptionDumpHeader *)FINAL_BUFFER = dumpHeader;
((void (*)())0xFFFF0830)(); //Ensure that all memory transfers have completed and that the data cache has been flushed
i2cWriteRegister(I2C_DEV_MCU, 0x20, 1 << 1); //Reboot
i2cWriteRegister(I2C_DEV_MCU, 0x20, 1 << 2); //Reboot
while(true);
}