almindor / mipidsi

MIPI Display Serial Interface unified driver
MIT License
108 stars 46 forks source link

`set_orientation` broken if done before init #31

Closed almindor closed 1 year ago

almindor commented 1 year ago

Display::set_orientation does nothing with possible UB behavior if done before Display::init.

If init wasn't done yet, the orientation value should just be stored so it's done there.