Rotation and BGR control is currently implemented as driver arguments. If two displays use the same driver, but need different rotation, this is not possible.
To remedy this, a process has been started: - Support in core: https://github.com/notro/fbtft/commit/0f348ed38178828236022ca069432543dbfb8fcc - fbtft_device supports 'rotate' and 'bgr' arguments: https://github.com/notro/fbtft/commit/cce36813ce20770f3b951e16a2fce8c49de45220 - ili9341fb is the first driver to implement this: https://github.com/notro/fbtft/commit/6af75a0637b7a2b51cc6d53704e8a61c8aa5c210
Drivers that needs to be changed: - [x] adafruit22fb - [x] flexfb - [x] itdb28fb - [x] sainsmart18fb - [x] sainsmart32fb
该提问来源于开源项目:notro/fbtft