Simu: add support for backlight off
This commit is contained in:
committed by
Raphael Coeffic
parent
3ae39a3050
commit
dc75b4916d
@@ -71,6 +71,10 @@ void lcdOn(){
|
||||
backlightEnable(BACKLIGHT_LEVEL_MAX);
|
||||
}
|
||||
|
||||
bool isBacklightEnabled() {
|
||||
return lastDutyCycle != 0;
|
||||
bool boardBacklightOn;
|
||||
|
||||
bool isBacklightEnabled()
|
||||
{
|
||||
if (globalData.unexpectedShutdown) return true;
|
||||
return boardBacklightOn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user