summaryrefslogtreecommitdiffstats
path: root/gui/blanktimer.hpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-02-28 22:31:48 +0100
committerDees_Troy <dees_troy@yahoo.com>2013-03-01 02:36:09 +0100
commit70237dc67552afea152dc2933ebc4f93cc97e0cc (patch)
treeb114b76cdf2057902204047ee55e7bc4b892a471 /gui/blanktimer.hpp
parentLoad user saved setting for blank timer on recovery startup (diff)
downloadandroid_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.gz
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.bz2
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.lz
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.xz
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.tar.zst
android_bootable_recovery-70237dc67552afea152dc2933ebc4f93cc97e0cc.zip
Diffstat (limited to 'gui/blanktimer.hpp')
-rw-r--r--gui/blanktimer.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/blanktimer.hpp b/gui/blanktimer.hpp
index 4135635f8..2d83c4dae 100644
--- a/gui/blanktimer.hpp
+++ b/gui/blanktimer.hpp
@@ -32,8 +32,7 @@ class blanktimer {
void setTime(int newtime);
private:
- void setBlank(int blank);
- int getBlank(void);
+ void setConBlank(int blank);
void setTimer(void);
timespec getTimer(void);
int getBrightness(void);
@@ -42,13 +41,12 @@ class blanktimer {
int setClockTimer(void);
typedef int (blanktimer::*ThreadPtr)(void);
typedef void* (*PThreadPtr)(void*);
- pthread_mutex_t blankmutex;
+ pthread_mutex_t conblankmutex;
pthread_mutex_t timermutex;
int conblank;
timespec btimer;
unsigned long long sleepTimer;
int orig_brightness;
- int blanked;
};
extern blanktimer blankTimer;