Cynerd opened a new pull request, #7643: URL: https://github.com/apache/incubator-nuttx/pull/7643
## Summary The write has to be in number of bytes per pixel as single SPI exchange is used to identify single pixel write by the ST7789 driver. By issuing only byte writes the displayed color is corrupted as it is stripped. This fix consist of setting SPI to correct number of exchanged bytes and then passing correctly number of words to the SPI exchange. This also covers usage of st7789_wrram in st7789_putrun as that one was passing just number of pixels as size but the correct is now number of bytes. ## Impact The color is now correctly propagated as 16 or 12 bits to the ST7789. ## Testing Tested on custom board with samv70 and ST7789. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org