It seems we don't need it anymore after all

This commit is contained in:
Aurora 2016-10-17 01:21:12 +02:00
parent 7339f57138
commit f0e111c20e
2 changed files with 0 additions and 12 deletions

View File

@ -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);

View File

@ -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);