Commit Graph

3 Commits (be539b05ffca895aaab78089955556e1d5c84bd1)

Author SHA1 Message Date
Michael Hanselmann be539b05ff waveshare213v2: Move display update to testable function
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
4 years ago
Michael Hanselmann 85bed23e58 waveshare213v2: Unify initialization, separate mode config
Merge the common logic in the "initDisplayFull" and "initDisplayPartial"
functions and separate out the parts related to the display update mode.
In a forthcoming change the update mode will no longer be set when
initializing, but rather via a separate setter function, requiring the
ability to reconfigure the display controller without a full
re-initialization.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
4 years ago
Michael Hanselmann 6052af94b0 waveshare213v2: Move initialization to testable functions 4 years ago