tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
587 stars 180 forks source link

st7789: update saved rotation in SetRotation #568

Closed aykevl closed 1 year ago

aykevl commented 1 year ago

I missed this issue in https://github.com/tinygo-org/drivers/pull/550. Without it, Rotation() returns the wrong rotation value.

deadprogram commented 1 year ago

Thanks for the fix @aykevl now merging.