mirror of https://github.com/arendst/Tasmota.git
Merge pull request #3256 from andrethomas/push2arendst
Move LM75ADDetect and MCP230xx_Detect
This commit is contained in:
commit
33c552a72d
|
@ -108,7 +108,7 @@ boolean Xsns26(byte function)
|
|||
|
||||
if (i2c_flg) {
|
||||
switch (function) {
|
||||
case FUNC_PREP_BEFORE_TELEPERIOD:
|
||||
case FUNC_EVERY_SECOND:
|
||||
LM75ADDetect();
|
||||
break;
|
||||
case FUNC_JSON_APPEND:
|
||||
|
|
|
@ -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