mirror of https://github.com/arendst/Tasmota.git
Move MCP230xx_Detect() from FUNC_PREP_BEFORE_TELEPERIOD to FUNC_EVERY_SECOND
This commit is contained in:
parent
dbf84d7813
commit
e6c5553059
|
@ -437,7 +437,7 @@ boolean Xsns29(byte function)
|
||||||
|
|
||||||
if (i2c_flg) {
|
if (i2c_flg) {
|
||||||
switch (function) {
|
switch (function) {
|
||||||
case FUNC_PREP_BEFORE_TELEPERIOD:
|
case FUNC_EVERY_SECOND:
|
||||||
MCP230xx_Detect();
|
MCP230xx_Detect();
|
||||||
break;
|
break;
|
||||||
case FUNC_EVERY_50_MSECOND:
|
case FUNC_EVERY_50_MSECOND:
|
||||||
|
|
Loading…
Reference in New Issue