Update FIRM loading magic, only deinit LCDs if they are inited, fix ntrboot naming
This commit is contained in:
@@ -240,7 +240,7 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
|
||||
initScreens();
|
||||
|
||||
static const char *bootTypes[] = { "B9S",
|
||||
"B9S (ntrboothax)",
|
||||
"B9S (ntrboot)",
|
||||
"FIRM0",
|
||||
"FIRM1" };
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ void mcuPowerOff(void)
|
||||
if(bootType != FIRMLAUNCH && ARESCREENSINITIALIZED) clearScreens(false);
|
||||
|
||||
//Shutdown LCD
|
||||
i2cWriteRegister(I2C_DEV_MCU, 0x22, 1 << 0);
|
||||
if(ARESCREENSINITIALIZED) i2cWriteRegister(I2C_DEV_MCU, 0x22, 1 << 0);
|
||||
|
||||
//Ensure that all memory transfers have completed and that the data cache has been flushed
|
||||
flushEntireDCache();
|
||||
|
||||
Reference in New Issue
Block a user