diff options
author | JayceFayne <13365789+JayceFayne@users.noreply.github.com> | 2021-09-05 18:09:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 09:09:20 -0700 |
commit | 767f2c02844acd77c86ea84fb86a1a7f49f379b0 (patch) | |
tree | 70ab6f4a9570c22f71e2a023a9497fe6eabb248a /drivers/oled/ssd1306_sh1106.c | |
parent | 0471429c018b85ebbccfe8c823621235c99458b2 (diff) |
[Core] Add `is_oled_scrolling` (#14305)
Diffstat (limited to 'drivers/oled/ssd1306_sh1106.c')
-rw-r--r-- | drivers/oled/ssd1306_sh1106.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/oled/ssd1306_sh1106.c b/drivers/oled/ssd1306_sh1106.c index 7d41978905..e9049438f5 100644 --- a/drivers/oled/ssd1306_sh1106.c +++ b/drivers/oled/ssd1306_sh1106.c @@ -692,6 +692,8 @@ bool oled_scroll_off(void) { return !oled_scrolling; } +bool is_oled_scrolling(void) { return oled_scrolling; } + bool oled_invert(bool invert) { if (!oled_initialized) { return oled_inverted; |