Config Change.... 0xCC for temp measurement DS2438/DS18B20
[owTools.git] / src / main.cpp
index 1d9e64f..de17078 100755 (executable)
@@ -285,10 +285,10 @@ void continuous(std::vector<owDevice*> *devices,int intervall,int headline,int s
                for (owDevice* dev :*devices) {
                        for(int k=0;k<owi->maxrepeat;k++){
                                std::vector<uint8_t> data;
-                               //data.push_back(0xCC);
-                               //data.push_back(0x44);
-                               //owi->Reset();
-                               //owi->Communicate(&data, 2, 0);
+                               data.push_back(0xCC);
+                               data.push_back(0x44);
+                               owi->Reset();
+                               owi->Communicate(&data, 2, 0);
                                dev->convertAll();
                                if (owi->log->last()<OWLOG_ERROR) break;
                                owi->log->clear();