summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Muresan <lucianm@users.sourceforge.net>2017-01-29 01:23:42 (GMT)
committerLucian Muresan <lucianm@users.sourceforge.net>2017-01-29 01:23:42 (GMT)
commit07a3c498ab114fdbd35848ba0385ce369d572173 (patch)
treeebdaa97cbd1340f3a3f7a26b93bd4eebb71358d9
parent1c445913fab4cf61f190e1d861ffb58460bef8b0 (diff)
downloadvdr-plugin-graphlcd-07a3c498ab114fdbd35848ba0385ce369d572173.tar.gz
vdr-plugin-graphlcd-07a3c498ab114fdbd35848ba0385ce369d572173.tar.bz2
using mutex in cGraphLCDDisplay::SetBrightness
-rw-r--r--display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/display.c b/display.c
index 54c93f1..0158366 100644
--- a/display.c
+++ b/display.c
@@ -492,7 +492,7 @@ void cGraphLCDDisplay::SetMenuCurrent()
void cGraphLCDDisplay::SetBrightness()
{
- //mutex.Lock();
+ mMutex.Lock();
bool bActive = bBrightnessActive
|| (mState == StateMenu)
|| (GraphLCDSetup.ShowVolume && mShowVolume)
@@ -521,7 +521,7 @@ void cGraphLCDDisplay::SetBrightness()
}
}
}
- //mutex.Unlock();
+ mMutex.Unlock();
}
void cGraphLCDDisplay::ForceUpdateBrightness() {