Added support of cyrillic characters output on companion devices with SSD1306 display. Use -D OLED_RU=1 with -D DISPLAY_CLASS=SSD1306Display for enable. Fixed bug with "glueing" next message preview with current message preview for messages ended with trimmed UTF-8 sequence. Fixed bug with incorrect trimming of UTF-8 message previews.

This commit is contained in:
Ivan Ilyichev 2026-01-20 11:20:16 +03:00
parent 56ab59ded2
commit 498b430f7c
6 changed files with 555 additions and 0 deletions

View file

@ -18,6 +18,9 @@ class SSD1306Display : public DisplayDriver {
Adafruit_SSD1306 display;
bool _isOn;
uint8_t _color;
#ifdef OLED_RU
uint8_t _size;
#endif
bool i2c_probe(TwoWire& wire, uint8_t addr);
public: