Enable debugging of onewire lib

This commit is contained in:
Ollo 2020-10-30 22:53:24 +01:00
parent bfd3394686
commit 156e721691

View File

@ -36,6 +36,9 @@ int Ds18B20::readAllTemperatures(float* pTemperatures, int maxTemperatures) {
byte addr[8];
uint8_t scratchPad[SCRATCHPADSIZE];
int currentTemp = 0;
#ifdef DS_DEBUG
int i;
#endif
while (this->mDs->search(addr)) {
#ifdef DS_DEBUG