no bsod on enter/leave standby when no lcd is available
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 18 Feb 2008 10:36:19 +0000 (10:36 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 18 Feb 2008 10:36:19 +0000 (10:36 +0000)
lib/python/Components/Lcd.py

index e722250db26d5e7fc1b5990e2ed86a6271141eb9..5709769234b5a49002c3848fbb5760f67c26759a 100644 (file)
@@ -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