mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Change SHT1x sensor detection
Change SHT1x sensor initialization from pre-teleperiod to once during restart to fix I2C interference
This commit is contained in:
parent
f9ce86a6e8
commit
f81e0eb2e4
@ -1,4 +1,5 @@
|
|||||||
/* 6.1.0a
|
/* 6.1.0a
|
||||||
|
* Change SHT1x sensor initialization from pre-teleperiod to once during restart to fix I2C interference
|
||||||
* Add wifi and mqtt status led blinkyblinky to be disabled by SetOption31 1. Does not work when LedPower is On (deliberate) (#871, #2230, #3114, #3155)
|
* Add wifi and mqtt status led blinkyblinky to be disabled by SetOption31 1. Does not work when LedPower is On (deliberate) (#871, #2230, #3114, #3155)
|
||||||
* Add experimental (untested) TM1638 switch support (#2226)
|
* Add experimental (untested) TM1638 switch support (#2226)
|
||||||
* Add support for APDS9960 proximity sensor (#3051)
|
* Add support for APDS9960 proximity sensor (#3051)
|
||||||
|
@ -231,7 +231,8 @@ boolean Xsns07(byte function)
|
|||||||
|
|
||||||
if (i2c_flg) {
|
if (i2c_flg) {
|
||||||
switch (function) {
|
switch (function) {
|
||||||
case FUNC_PREP_BEFORE_TELEPERIOD:
|
// case FUNC_PREP_BEFORE_TELEPERIOD: // As this is not a real I2C device it may interfere with other sensors
|
||||||
|
case FUNC_INIT: // Move detection to restart only removing interference
|
||||||
ShtDetect();
|
ShtDetect();
|
||||||
break;
|
break;
|
||||||
case FUNC_JSON_APPEND:
|
case FUNC_JSON_APPEND:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user