Autodetect OLED Controller 1306/1106 (#1317)

* Autodetect OLED Controller 1306/1106 and make #define NO_SCREEN work again

* fix epaper with autodetect

* Try kicking CI - NFC
This commit is contained in:
Thomas Göttgens
2022-03-24 17:36:56 +01:00
committed by GitHub
parent 47524d58d7
commit cef1614770
8 changed files with 53 additions and 10 deletions

View File

@@ -34,6 +34,12 @@ class EInkDisplay : public OLEDDisplay
*/
bool forceDisplay(uint32_t msecLimit = 1000);
/**
* shim to make the abstraction happy
*
*/
void setDetected(uint8_t detected);
protected:
// the header size of the buffer used, e.g. for the SPI command header
virtual int getBufferOffset(void) override { return 0; }