use ssd1312 display (soldered)

This commit is contained in:
Alessandro Mauri 2026-04-19 21:26:22 +02:00
parent a1590577d2
commit 4820010ef1
4 changed files with 15 additions and 15 deletions

View file

@ -165,7 +165,7 @@ u8g2_t* display_init(void)
u8g2_Setup_ssd1306_i2c_128x32_univision_f(&u8g2, U8G2_R0, u8x8_byte_i2c, u8x8_gpio_and_delay);
#elif SSD1312_96X16 && SSD1312_96X16 == 1
// NOTE: display size is wrong, hardware is 96x16, but driver is configured for 120x28
u8g2_Setup_ssd1312_i2c_120x28_f(&u8g2, U8G2_R0, u8x8_byte_i2c, u8x8_gpio_and_delay);
u8g2_Setup_ssd1312_i2c_128x32_f(&u8g2, U8G2_R0, u8x8_byte_i2c, u8x8_gpio_and_delay);
#else
static_assert(0, "unsupported display size");
#endif