mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 04:36:31 +00:00
Fix correct second I2C bus
This commit is contained in:
parent
1ab53aabc8
commit
50ccaede60
@ -18,8 +18,10 @@
|
|||||||
#endif // ESP8266
|
#endif // ESP8266
|
||||||
|
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
|
#if SOC_I2C_NUM > 1
|
||||||
#define USE_I2C_BUS2
|
#define USE_I2C_BUS2
|
||||||
#endif
|
#endif // SOC_I2C_NUM
|
||||||
|
#endif // ESP32
|
||||||
|
|
||||||
const uint8_t I2C_RETRY_COUNTER = 3;
|
const uint8_t I2C_RETRY_COUNTER = 3;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user