fix building other screen adapters

This commit is contained in:
Thomas Göttgens
2023-01-20 16:34:39 +01:00
parent cbd6a0065b
commit 0eaf0747f4
4 changed files with 90 additions and 93 deletions

View File

@@ -18,14 +18,14 @@ class TFTDisplay : public OLEDDisplay
/* constructor
FIXME - the parameters are not used, just a temporary hack to keep working like the old displays
*/
TFTDisplay(uint8_t address, int sda, int scl);
TFTDisplay(uint8_t address, int sda, int scl, uint8_t screen_model);
// Write the buffer to the display memory
virtual void display(void) override;
/**
* shim to make the abstraction happy
*
*
*/
void setDetected(uint8_t detected);