m5stack / M5GFX

Graphics library for M5Stack series
MIT License
173 stars 47 forks source link

Arduino package 2.0.0 build error: 'class TwoWire' has no member named 'end' #33

Closed tobozo closed 2 years ago

tobozo commented 2 years ago

Hi, and thanks for the awesome library !

~/Arduino/libraries/M5GFX/src/lgfx/v1/platforms/esp32/common.cpp:741:16: 
  error: 'class TwoWire' has no member named 'end'; did you mean 'read'?
       twowire->end();
                ^~~
                read
lovyan03 commented 2 years ago

@tobozo Thanks for the report. It is a LovyanGFX bug and I will address it as soon as I can fix it there.

lovyan03 commented 2 years ago

@tobozo Bug fixes were made in the develop branch.

https://github.com/m5stack/M5GFX/commit/0453041b6f4a122378a0d873af3385586be4fb7e

tobozo commented 2 years ago

thanks I can confirm the compilation error is gone when using the develop branch

tobozo commented 2 years ago

additional fix for platformio: #34