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 e722250..5709769 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