We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
M5EPD_Canvas::M5EPD_Canvas(M5EPD_Driver *driver) set _bpp to 4, overriding the default value of 16 from TFT_eSprite.
Neither M5EPD_Canvas::M5EPD_Canvas() nor M5EPD_Canvas::setDriver set _bpp.
(They also do not set _bytewidth, _last_push_x or _last_push_y, leaving them uninitialised.)
That means that
M5EPD_Canvas Canvas; Canvas.setDriver(&M5.EPD);
Does not work in the same way that
M5EPD_Canvas Canvas(&M5.EPD);
Does.
The text was updated successfully, but these errors were encountered:
Issue m5stack#19. Display not initialised correct if using default co…
891bf9f
…nstructor and setDriver()
Pull request: #20
Sorry, something went wrong.
No branches or pull requests
M5EPD_Canvas::M5EPD_Canvas(M5EPD_Driver *driver) set _bpp to 4, overriding the default value of 16 from TFT_eSprite.
Neither M5EPD_Canvas::M5EPD_Canvas() nor M5EPD_Canvas::setDriver set _bpp.
(They also do not set _bytewidth, _last_push_x or _last_push_y, leaving them uninitialised.)
That means that
Does not work in the same way that
Does.
The text was updated successfully, but these errors were encountered: