light sleep seems to work well

This commit is contained in:
geeksville
2020-02-21 04:57:08 -08:00
parent beccc34ef1
commit 7a745c9e65
4 changed files with 85 additions and 24 deletions

View File

@@ -51,6 +51,8 @@ OLEDDisplayUi ui(&dispdev);
// A text message frame + debug frame + all the node infos
FrameCallback nonBootFrames[MAX_NUM_NODES + NUM_EXTRA_FRAMES];
bool is_screen_on() { return screenOn; }
void msOverlay(OLEDDisplay *display, OLEDDisplayUiState *state)
{
display->setTextAlignment(TEXT_ALIGN_RIGHT);