UncleRus / esp-idf-lib

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

i2cdev: Driver resinstallation bug #429

Closed UncleRus closed 2 years ago

UncleRus commented 2 years ago

The issue

Steps to reproduce:

  1. Create and try to use i2c_dev_t with invalid parameters, e.g. SDA=SCL.
  2. Try another i2c_dev_t on the same port and get i2c_master_cmd_begin(1439): i2c driver not installed.

Which SDK are you using?

esp-idf

Which version of SDK are you using?

master

Which build target have you used?

Component causing the issue

i2cdev

Anything in the logs that might be useful for us?

No response

Additional information or context

No response

Confirmation