diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-03-01 02:37:36 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@5.9.244.119> | 2013-03-01 02:37:36 +0100 |
commit | 07712b22265ec199487eeaa5c34be70266ae039c (patch) | |
tree | 5b3efe9d075c2d267370d5b2259ad7d0e4677c96 /gui/blanktimer.hpp | |
parent | Fix file selector crash (diff) | |
parent | Add 2 second pre-dim and bugfix blank timer (diff) | |
download | android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.gz android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.bz2 android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.lz android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.xz android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.tar.zst android_bootable_recovery-07712b22265ec199487eeaa5c34be70266ae039c.zip |
Diffstat (limited to 'gui/blanktimer.hpp')
-rw-r--r-- | gui/blanktimer.hpp | 6 |
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; |