Simu: add support for backlight off

This commit is contained in:
Raphael Coeffic
2022-06-13 22:43:45 +02:00
committed by Raphael Coeffic
parent 3ae39a3050
commit dc75b4916d
6 changed files with 68 additions and 44 deletions
+1 -2
View File
@@ -329,8 +329,7 @@ void boardOff()
bool isBacklightEnabled()
{
if(globalData.unexpectedShutdown)
return true;
if (globalData.unexpectedShutdown) return true;
return boardBacklightOn;
}