Add OLED driver function to determine if the screen is currently on (#10382)

This commit is contained in:
Fred Silberberg
2020-09-21 18:39:50 -07:00
committed by Drashna Jael're
parent 63d73fdb02
commit 10402a4f09
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -257,6 +257,10 @@ bool oled_on(void);
// Returns true if the screen was off or turns off
bool oled_off(void);
// Returns true if the oled is currently on, false if it is
// not
bool is_oled_on(void);
// Basically it's oled_render, but with timeout management and oled_task_user calling!
void oled_task(void);