Commit Graph

3 Commits (04d108ccac778c976e8a4a172e62fe9fd60100f5)

Author SHA1 Message Date
Michael Hanselmann 04d108ccac waveshare213v2: Move display update to testable function
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
4 years ago
Michael Hanselmann 41c01d54b6 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 cbda71a0c8 waveshare213v2: Move initialization to testable functions 4 years ago