Skip to content

Commit 111ac4c

Browse files
committed
test
1 parent d97bb3d commit 111ac4c

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.arduino-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ compile:
22
# Choosing to run compilation tests on 2 different Arduino platforms
33
platforms:
44
- uno
5-
- due
5+
# - due
66
# - zero # SAMD covered by M4
77
# - leonardo # AVR covered by UNO
8-
- m4
8+
# - m4
99
# - esp32 # errors on OneWire => util/crc16.h vs rom/crc.h
10-
- esp8266
10+
# - esp8266
1111
# - mega2560 # AVR covered by UNO
1212
unittest:
1313
# These dependent libraries will be installed
1414
libraries:
15+
- "libc"
1516
- "OneWire"

DallasTemperature.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ int32_t DallasTemperature::calculateTemperature(const uint8_t* deviceAddress,
723723
// the numeric value of DEVICE_DISCONNECTED_RAW is defined in
724724
// DallasTemperature.h. It is a large negative number outside the
725725
// operating range of the device
726-
int32_t DallasTemperature::getTemp(const uint8_t* deviceAddress, byte retryCount = 0) {
726+
int32_t DallasTemperature::getTemp(const uint8_t* deviceAddress, byte retryCount) {
727727

728728
ScratchPad scratchPad;
729729

@@ -742,7 +742,7 @@ int32_t DallasTemperature::getTemp(const uint8_t* deviceAddress, byte retryCount
742742
// the numeric value of DEVICE_DISCONNECTED_C is defined in
743743
// DallasTemperature.h. It is a large negative number outside the
744744
// operating range of the device
745-
float DallasTemperature::getTempC(const uint8_t* deviceAddress, byte retryCount = 0) {
745+
float DallasTemperature::getTempC(const uint8_t* deviceAddress, byte retryCount) {
746746
return rawToCelsius(getTemp(deviceAddress, retryCount));
747747
}
748748

0 commit comments

Comments
 (0)