From d0cdfb806e7c602e610f1b529640ad9508a83d7e Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 18 Feb 2008 10:36:19 +0000 Subject: no bsod on enter/leave standby when no lcd is available --- lib/python/Components/Lcd.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python/Components') diff --git a/lib/python/Components/Lcd.py b/lib/python/Components/Lcd.py index e722250d..57097692 100644 --- a/lib/python/Components/Lcd.py +++ b/lib/python/Components/Lcd.py @@ -60,3 +60,6 @@ def InitLcd(): config.lcd.invert = ConfigYesNo(default=False) config.lcd.invert.addNotifier(setLCDinverted); + else: + config.lcd.bright.apply = lambda : pass + config.lcd.standby.apply = lambda : pass -- cgit v1.2.3