Skip to content

Conversation

matikij
Copy link

@matikij matikij commented May 15, 2020

This simple fix works for me.

@user2684
Copy link
Contributor

Hi, just to double check, is this related to which issue? Is #511 (merged into development recently) still not enough? Thanks!

@matikij
Copy link
Author

matikij commented Jun 19, 2020

Hi, I didn't create an issue for this. It was a compile error when I was compiling for ESP8266 - then the ifdef in

#ifdef CHIP_AVR
does not hold and
_oled = new SSD1306AsciiWire();
is included, so that means that _oled field is of type SSD1306AsciiWire, which is not a SSD1306AsciiAvrI2c as expected by getDisplay() signature. SSD1306Ascii is a common and direct ancestor of both classes.

@user2684 user2684 added the bug label Jun 19, 2020
@user2684
Copy link
Contributor

Oh understand, thanks for the clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants