diff --git a/.gitignore b/.gitignore index 6b8bce72..1aa5ca1e 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,6 @@ # Other compiler/linker outputs *.elf -*.bin *.map *.lst .dep/ diff --git a/firmware/application/ui_navigation.cpp b/firmware/application/ui_navigation.cpp index 50f6f529..c0bc619d 100644 --- a/firmware/application/ui_navigation.cpp +++ b/firmware/application/ui_navigation.cpp @@ -148,7 +148,8 @@ SystemView::SystemView( // Initial view. // TODO: Restore from non-volatile memory? - if (persistent_memory::playing_dead()) + + if (persistent_memory::playing_dead() == 0x59) navigation_view.push(new PlayDeadView { navigation_view, true }); else navigation_view.push(new BMPView { navigation_view }); @@ -232,7 +233,7 @@ void PlayDeadView::focus() { PlayDeadView::PlayDeadView(NavigationView& nav, bool booting) { _booting = booting; - persistent_memory::set_playing_dead(1); + persistent_memory::set_playing_dead(0x59); add_children({ { &text_playdead1, diff --git a/firmware/portapack-h1-firmware.bin b/firmware/portapack-h1-firmware.bin index 255bb4ce..960b19d6 100644 Binary files a/firmware/portapack-h1-firmware.bin and b/firmware/portapack-h1-firmware.bin differ