Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SSD1306 #519

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Fix SSD1306 #519

wants to merge 1 commit into from

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