OLED last line corrupted
Current Behavior
The OLED shows a corrupted lowest line.
Steps to Reproduce
Connect OLED to I2C and enable in configurator. Display as shown above.
Expected behavior
It works? :)
Suggested solution(s)
No idea.
Additional context
Display type: https://www.aliexpress.com/item/1005006501624032.html?spm=a2g0o.order_list.order_list_main.5.21ef1802E8UjmP 128X64 I2C SSD1306 12864
- FC Board name and vendor: Speedy Bee F405 wing mini
- INAV version string: INAV 8.0.0
Previously reported as https://github.com/iNavFlight/inav/issues/5903
Oh, sorry. But I see that the old issue is closed. So, I keep this open.
Will be fixed with this. You can test the Artefact if you want: https://github.com/iNavFlight/inav/pull/10760
I've learned there are a few different chips used for OLED drivers.
The SSH1106 needs more data sent to it than the SSD1306. The SSD1306 just gets bytes for the pixels. The SSH1106 has memory for four extra lines that are not displayed. I may do a PR to try to detect which kind of display is attached and adjust appropropriatrly.