It seems we don't need it anymore after all
This commit is contained in:
parent
7339f57138
commit
f0e111c20e
@ -54,17 +54,6 @@ u32 waitInput(void)
|
|||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
void mcuReboot(void)
|
|
||||||
{
|
|
||||||
if(!ISFIRMLAUNCH && ARESCREENSINITED) clearScreens(true, true, false);
|
|
||||||
|
|
||||||
//Ensure that all memory transfers have completed and that the data cache has been flushed
|
|
||||||
flushEntireDCache();
|
|
||||||
|
|
||||||
i2cWriteRegister(I2C_DEV_MCU, 0x20, 1 << 2);
|
|
||||||
while(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
void mcuPowerOff(void)
|
void mcuPowerOff(void)
|
||||||
{
|
{
|
||||||
if(!ISFIRMLAUNCH && ARESCREENSINITED) clearScreens(true, true, false);
|
if(!ISFIRMLAUNCH && ARESCREENSINITED) clearScreens(true, true, false);
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#define REG_TIMER_VAL(i) *(vu16 *)(0x10003000 + 4 * i)
|
#define REG_TIMER_VAL(i) *(vu16 *)(0x10003000 + 4 * i)
|
||||||
|
|
||||||
u32 waitInput(void);
|
u32 waitInput(void);
|
||||||
void mcuReboot(void);
|
|
||||||
void mcuPowerOff(void);
|
void mcuPowerOff(void);
|
||||||
void chrono(u32 seconds);
|
void chrono(u32 seconds);
|
||||||
void error(const char *message);
|
void error(const char *message);
|
Reference in New Issue
Block a user