Load user saved setting for blank timer on recovery startup

Fix persistence of military time
This commit is contained in:
bigbiff bigbiff
2013-02-27 20:50:43 -05:00
parent 58f5cf0ab5
commit f8e2f37565
3 changed files with 9 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ extern "C" {
#include <sstream>
#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();
}