1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-19 21:43:29 +01:00

exo: there's no reason to not always init uart to be safe, actually

This commit is contained in:
Michael Scire 2018-12-04 16:01:26 -08:00
parent a79f4cf6f6
commit a51d355707

View file

@ -215,11 +215,9 @@ void bootup_misc_mmio(void) {
if (!g_has_booted_up) {
/* N doesn't do this, but we should for compatibility. */
if (configitem_is_debugmode_priv()) {
uart_select(UART_A);
clkrst_reboot(CARDEVICE_UARTA);
uart_init(UART_A, 115200);
}
uart_select(UART_A);
clkrst_reboot(CARDEVICE_UARTA);
uart_init(UART_A, 115200);
intr_register_handler(INTERRUPT_ID_SECURITY_ENGINE, se_operation_completed);
if (exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_400) {