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();