summaryrefslogtreecommitdiff
path: root/drivers/oled/oled_driver.h
diff options
context:
space:
mode:
authorIgnaz Kevenaar <ignazkevenaar@gmail.com>2021-06-18 17:08:22 +0200
committerGitHub <noreply@github.com>2021-06-19 01:08:22 +1000
commit0311c8036d693baf63ed4d3b7badf4257ffd5f46 (patch)
tree90ea79a94aec8b5dcf160a5a323976b6e8dace2e /drivers/oled/oled_driver.h
parent172e6a703041363decd6fc829542f33180c13beb (diff)
Add oled_invert (#13172)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'drivers/oled/oled_driver.h')
-rw-r--r--drivers/oled/oled_driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h
index a6b85f37e6..fc68f0ec95 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);
+// Inverts the display
+// Returns true if the screen was or is inverted
+bool oled_invert(bool invert);
+
// Returns the maximum number of characters that will fit on a line
uint8_t oled_max_chars(void);