summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-04-19 03:08:31 +0000
committerQMK Bot <hello@qmk.fm>2021-04-19 03:08:31 +0000
commit7728b0f966c9ccad42c573bb10193de1398f5503 (patch)
tree7dd82835f2e7b31dc9411ebe38f2befa3934152e /drivers
parent0a9e18fae13654ab6d8d85a9867fc10a4261103f (diff)
parenta0089aa34519ec4fcf7cee6a352424e4b7cba7da (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'drivers')
-rw-r--r--drivers/qwiic/micro_oled.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/qwiic/micro_oled.c b/drivers/qwiic/micro_oled.c
index c7a4ee081d..bbeb140cbe 100644
--- a/drivers/qwiic/micro_oled.c
+++ b/drivers/qwiic/micro_oled.c
@@ -206,6 +206,8 @@ void clear_screen(void) {
send_data(0);
}
}
+
+ memset(micro_oled_screen_current, 0, LCDWIDTH * LCDHEIGHT / 8);
}
/** \brief Clear SSD1306's memory.