mirror of
https://github.com/anklimov/lighthub
synced 2025-12-08 20:59:49 +03:00
subitem retrieve fix, new loglev 9 for mbus trace
This commit is contained in:
@@ -226,11 +226,11 @@ int sensors_loop(void) {
|
||||
|
||||
case DS2482_ERROR_CONFIG:
|
||||
errorSerial<<F("1WT: DS2482_ERROR_CONFIG")<<endl;
|
||||
oneWire->wireReset();
|
||||
return INTERVAL_1W;
|
||||
i2cReset();
|
||||
break;
|
||||
|
||||
case DS2482_ERROR_TIMEOUT:
|
||||
errorSerial<<F("1WT: 1-wire shorted")<<endl;
|
||||
errorSerial<<F("1WT: timeout")<<endl;
|
||||
oneWire->wireReset();
|
||||
return INTERVAL_1W;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user