mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-30 06:31:01 +00:00
enable touchscreen
This commit is contained in:
@@ -25,9 +25,8 @@ bool readTouch(int16_t *x, int16_t *y)
|
||||
void lateInitVariant()
|
||||
{
|
||||
bbct.init(GT911_PIN_SDA, GT911_PIN_SCL, GT911_PIN_RST, GT911_PIN_INT);
|
||||
bbct.setOrientation(90, EPD_WIDTH, EPD_HEIGHT);
|
||||
// FIXME: crashes!
|
||||
// touchScreenImpl1 = new TouchScreenImpl1(EPD_WIDTH, EPD_HEIGHT, readTouch);
|
||||
// touchScreenImpl1->init();
|
||||
bbct.setOrientation(0, EPD_WIDTH, EPD_HEIGHT);
|
||||
touchScreenImpl1 = new TouchScreenImpl1(EPD_WIDTH, EPD_HEIGHT, readTouch);
|
||||
touchScreenImpl1->init();
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user