Skip to content
Commit 58caab33 authored by Aksel Skauge Mellbye's avatar Aksel Skauge Mellbye Committed by Benjamin Cabé
Browse files

samples: drivers: display: Support line alignment constrained displays



The sample app draws rectangles in the corner of the display.
On devices with the SCREEN_INFO_X_ALIGNMENT_WIDTH capability,
each draw needs to transmit a complete line. Make the sample
work on such displays (e.g. the `ls0xx` driver) by making the
rectangles take up the full width of the display.

Co-authored-by: default avatarBenjamin Cabé <kartben@gmail.com>
Signed-off-by: default avatarAksel Skauge Mellbye <aksel.mellbye@silabs.com>
parent 3142c51d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment