UI options: backlight auto-off, splash screen toggle

This commit is contained in:
furrtek 2016-01-07 14:17:39 +01:00
parent d1e9bf33ec
commit 1e71a10346
13 changed files with 311 additions and 74 deletions

View file

@ -28,6 +28,7 @@
#include "splash.hpp"
#include "ui_about.hpp"
#include "ui_setup.hpp"
#include "ui_debug.hpp"
#include "ui_receiver.hpp"
@ -169,7 +170,10 @@ SystemView::SystemView(
//else
// navigation_view.push(new BMPView { navigation_view });
if (portapack::persistent_memory::ui_config() & 1)
navigation_view.push(new BMPView { navigation_view });
else
navigation_view.push(new SystemMenuView { navigation_view });
}
Context& SystemView::context() const {