arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.23k stars 4.81k forks source link

Add internal I2C argument to send stop while reading #22127

Closed s-hadinger closed 2 months ago

s-hadinger commented 2 months ago

Description:

M5Stack I2C devices seem to require to send a Stop after sending the register and before reading registers. This PR adds an optional argument to force the stop. It will be used by Berry I2C driver.

No functional change to existing code.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass