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) {
|
||||
switch (function) {
|
||||
case FUNC_PREP_BEFORE_TELEPERIOD:
|
||||
case FUNC_EVERY_SECOND:
|
||||
MCP230xx_Detect();
|
||||
break;
|
||||
case FUNC_EVERY_50_MSECOND:
|
||||
|
|
Loading…
Reference in New Issue