diff options
author | Fred Silberberg <fred@silberberg.xyz> | 2020-09-21 18:39:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 18:39:50 -0700 |
commit | c23667608c6ebb8f6d8a7f9b115144abd8794e00 (patch) | |
tree | 968d5d5da9b105a2818195934b3dde662630d956 /docs | |
parent | dc037f139135e2321a71dda90ecee4535d363f28 (diff) | |
download | qmk_firmware-c23667608c6ebb8f6d8a7f9b115144abd8794e00.tar.gz qmk_firmware-c23667608c6ebb8f6d8a7f9b115144abd8794e00.zip |
Add OLED driver function to determine if the screen is currently on (#10382)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_oled_driver.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/feature_oled_driver.md b/docs/feature_oled_driver.md index d106d3d13e..9e33a321ce 100644 --- a/docs/feature_oled_driver.md +++ b/docs/feature_oled_driver.md @@ -300,6 +300,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); |