Merge branch 'development03' of https://github.com/dAjaY85/ahoy into development03

This commit is contained in:
lumapu 2023-09-04 20:26:07 +02:00
commit 8fdfca6487
3 changed files with 5 additions and 3 deletions

View file

@ -35,7 +35,7 @@ class Display {
case 3: mMono = new DisplayMono84X48(); break;
case 4: mMono = new DisplayMono128X32(); break;
case 5: mMono = new DisplayMono64X48(); break;
case 6: mMono = new DisplayMono128X64(); break;
#if defined(ESP32)
case 10:
mMono = NULL; // ePaper does not use this

View file

@ -27,10 +27,12 @@ class DisplayMono128X64 : public DisplayMono {
case 1:
mDisplay = new U8G2_SSD1306_128X64_NONAME_F_HW_I2C(rot, reset, clock, data);
break;
default:
case 2:
mDisplay = new U8G2_SH1106_128X64_NONAME_F_HW_I2C(rot, reset, clock, data);
break;
case 6:
mDisplay = new U8G2_SSD1309_128X64_NONAME0_F_HW_I2C(rot, reset, clock, data);
break;
}
mUtcTs = utcTs;