Fixing a number of T-Beam poweroff display issues (#1876)

This commit is contained in:
Ben Meadors
2022-10-30 20:40:30 -05:00
committed by GitHub
parent 311835a231
commit afafb3ba32
3 changed files with 9 additions and 10 deletions

View File

@@ -131,8 +131,7 @@ class Screen : public concurrency::OSThread
void setOn(bool on)
{
if (!on)
handleSetOn(
false); // We handle off commands immediately, because they might be called because the CPU is shutting down
handleSetOn(false); // We handle off commands immediately, because they might be called because the CPU is shutting down
else
enqueueCmd(ScreenCmd{.cmd = on ? Cmd::SET_ON : Cmd::SET_OFF});
}