oled: make async/sync mode configurable
authorCyprien Laplace <cyprien@cypou.net>
Wed, 21 Jun 2017 00:11:45 +0000 (20:11 -0400)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:05 +0000 (17:03 +0100)
commitb12102aae55efbaea6a723fc7120e4c2ade658f7
tree4897b33d9e319f3a765b1587c5c9b361c7a23e77
parentc93473f7ea6bde6af8fd9f7e97b11170d286b849
oled: make async/sync mode configurable

A new "async" parameter in the display structure let the user choose
between asynchronous or synchronous screen updates. This affects both
fullscreen and tiled updates.

Also only re-send the full window when needed. WARNING: this only
tracks driver updates of it...
extdrv/ssd130x_oled_driver.c
include/extdrv/ssd130x_oled_driver.h