From f8e2f375656b5ed8e90a501aea4f6925fe7d7d5d Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Wed, 27 Feb 2013 20:50:43 -0500 Subject: Load user saved setting for blank timer on recovery startup Fix persistence of military time --- gui/blanktimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/blanktimer.cpp') diff --git a/gui/blanktimer.cpp b/gui/blanktimer.cpp index d991d40b3..cf35f6544 100644 --- a/gui/blanktimer.cpp +++ b/gui/blanktimer.cpp @@ -37,6 +37,7 @@ extern "C" { #include #include "pages.hpp" #include "blanktimer.hpp" +#include "../data.hpp" extern "C" { #include "../common.h" #include "../recovery_ui.h" @@ -46,7 +47,6 @@ extern "C" { blanktimer::blanktimer(void) { blanked = 0; - sleepTimer = 60; orig_brightness = getBrightness(); } -- cgit v1.2.3