From 767f2c02844acd77c86ea84fb86a1a7f49f379b0 Mon Sep 17 00:00:00 2001 From: JayceFayne <13365789+JayceFayne@users.noreply.github.com> Date: Sun, 5 Sep 2021 18:09:20 +0200 Subject: [Core] Add `is_oled_scrolling` (#14305) --- drivers/oled/oled_driver.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/oled/oled_driver.h') diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h index fc68f0ec95..13b73ede9d 100644 --- a/drivers/oled/oled_driver.h +++ b/drivers/oled/oled_driver.h @@ -313,6 +313,10 @@ bool oled_scroll_left(void); // Returns true if the screen was not scrolling or stops scrolling bool oled_scroll_off(void); +// Returns true if the oled is currently scrolling, false if it is +// not +bool is_oled_scrolling(void); + // Inverts the display // Returns true if the screen was or is inverted bool oled_invert(bool invert); -- cgit v1.2.3