mirror of
https://github.com/anklimov/lighthub
synced 2025-12-08 20:59:49 +03:00
fix for software 1-wire driver
This commit is contained in:
@@ -1489,9 +1489,9 @@ void setup_main() {
|
||||
delay(20);
|
||||
//owReady = 0;
|
||||
|
||||
#ifdef _owire
|
||||
if (oneWire) oneWire->idle(&owIdle);
|
||||
#endif
|
||||
#ifdef _owire
|
||||
setupOwIdle(&owIdle);
|
||||
#endif
|
||||
|
||||
mqttClient.setCallback(mqttCallback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user