UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.35k stars 420 forks source link

fix for issue #501 - comparing i2c configuration on 8266 #562

Closed pzarzycki closed 11 months ago

pzarzycki commented 11 months ago

Fix for issue #501

I tested it on my 8266 Development board with PCA9685 and MPU6050.

i2c_setup_port() stopped reconfiguring for every i2c read or write, which I believe impacts positively performance on this platform.

UncleRus commented 11 months ago

It was the fastest "FIXME" fix in my life :)

Thank you. Will be merged to master right after the CI has completed.

pzarzycki commented 11 months ago

Happy to help, this project is really awesome!