Move MCP230xx_Detect() from FUNC_PREP_BEFORE_TELEPERIOD to FUNC_EVERY_SECOND

This commit is contained in:
andrethomas 2018-07-17 21:18:26 +02:00
parent dbf84d7813
commit e6c5553059
1 changed files with 1 additions and 1 deletions

View File

@ -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: