Dallas log typo
This commit is contained in:
parent
d563c71fd0
commit
c7345aae63
@ -43,9 +43,9 @@ public:
|
||||
first = false;
|
||||
uint8_t count = sensors.getDeviceCount();
|
||||
if (count == 0) {
|
||||
error("BS18B20 No devices found!");
|
||||
error("DS18B20 No devices found!");
|
||||
} else {
|
||||
debug("BS18B20 Found %d devices:", count);
|
||||
debug("DS18B20 Found %d devices:", count);
|
||||
uint64_t address;
|
||||
for (int index = 0; index < count; ++index) {
|
||||
sensors.getAddress((uint8_t *) &address, index);
|
||||
@ -56,7 +56,7 @@ public:
|
||||
converting = false;
|
||||
converted = true;
|
||||
} else if (millis() - lastMillis > DALLAS_TIMEOUT_MILLISECONDS) {
|
||||
error("BS18B20 Timeout!");
|
||||
error("DS18B20 Timeout!");
|
||||
converting = false;
|
||||
converted = false;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user