stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
430 stars 349 forks source link

FIX fw5-telelogger.showStats() regression when ENABLE_OLED #157

Open ankostis opened 2 years ago

ankostis commented 2 years ago

Stanley's fe345f9 on 9 Dec 2021 broke showSstats() when ENABLE_OLED is defined, due to forgotten renaming of the buffer variable from timestr -> buf.

wladkolc commented 1 year ago

Hi @ankostis, do you have issue with MEMS I2C driver, when ENABLED_OLED is set to 1? Want to use I2C display with One+ Model B and connect it throught molex.

ankostis commented 1 year ago

Cannot test OLED, hav'nt got this module. But for sure there is a bug here.

Just try git cherry-pick c75fbaec7d6 from my repo (after you have git remote add ankostis <my-repo-url> && git fetch ankostis).

wladkolc commented 1 year ago

Hi, i have fixed that problem from your cherry pick, but now i have issue with i2c and dont know how to use both internal i2c devices and oled throught molex. Thanks for your time

ankostis commented 1 year ago

Apologies for having to delete my fork, have now restored my PR branches.