exosphere: fix sleep mode when debugmode is enabled

This commit is contained in:
Michael Scire 2018-12-04 15:59:30 -08:00
parent 903789cf6e
commit a79f4cf6f6
5 changed files with 30 additions and 2 deletions

View file

@ -35,6 +35,7 @@
#include "smc_api.h"
#include "timers.h"
#include "misc.h"
#include "uart.h"
#include "exocfg.h"
#define u8 uint8_t
@ -241,7 +242,7 @@ void save_se_and_power_down_cpu(void) {
save_se_state();
if (!configitem_is_retail()) {
/* TODO: uart_log("OYASUMI"); */
uart_send(UART_A, "OYASUMI", 8);
}
finalize_powerdown();