~ruther/qmk_firmware

e1ad9432b6f196c73a67e8ec7d1199b84ba11598 — QMK Bot 4 years ago a66e8c8 + 767f2c0
Merge remote-tracking branch 'origin/master' into develop
3 files changed, 10 insertions(+), 0 deletions(-)

M docs/feature_oled_driver.md
M drivers/oled/oled_driver.h
M drivers/oled/ssd1306_sh1106.c
M docs/feature_oled_driver.md => docs/feature_oled_driver.md +4 -0
@@ 356,6 356,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);

M drivers/oled/oled_driver.h => drivers/oled/oled_driver.h +4 -0
@@ 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);

M drivers/oled/ssd1306_sh1106.c => drivers/oled/ssd1306_sh1106.c +2 -0
@@ 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;