Fixed exception on reset

This commit is contained in:
Mateusz Faderewski 2023-08-03 17:27:19 +02:00
parent 8e8f77e55b
commit d36be317e1

View File

@ -76,8 +76,6 @@ static void menu_init (boot_params_t *boot_params) {
}
static void menu_deinit (menu_t *menu) {
display_close();
// NOTE: Restore previous TV type so boot procedure wouldn't passthrough wrong value.
TV_TYPE_RAM = tv_type;
@ -94,6 +92,8 @@ static void menu_deinit (menu_t *menu) {
audio_close();
rtc_close();
timer_close();
display_close();
}