Skip to content

Commit dbf94ad

Browse files
authored
Merge pull request #224 from milesburton/revert-int16t-change
@milesburton Reveretd int16_t back to int8_t due to microcontroller r…
2 parents ea08fc3 + cf58845 commit dbf94ad

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

DallasTemperature.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
#define DS28EA00MODEL 0x42
3434

3535
// Error Codes
36-
#define DEVICE_DISCONNECTED_C -255
37-
#define DEVICE_DISCONNECTED_F -427
38-
#define DEVICE_DISCONNECTED_RAW -32640
36+
// See https://github.com/milesburton/Arduino-Temperature-Control-Library/commit/ac1eb7f56e3894e855edc3353be4bde4aa838d41#commitcomment-75490966 for the 16bit implementation. Reverted due to microcontroller resource constraints.
37+
#define DEVICE_DISCONNECTED_C -127
38+
#define DEVICE_DISCONNECTED_F -196.6
39+
#define DEVICE_DISCONNECTED_RAW -7040
3940

4041
#define DEVICE_FAULT_OPEN_C -254
4142
#define DEVICE_FAULT_OPEN_F -425.199982

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{
3333
"paulstoffregen/OneWire": "^2.3.5"
3434
},
35-
"version": "3.10.0",
35+
"version": "3.11.0",
3636
"frameworks": "arduino",
3737
"platforms": "*"
3838
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=DallasTemperature
2-
version=3.10.0
2+
version=3.11.0
33
author=Miles Burton <miles@mnetcs.com>, Tim Newsome <nuisance@casualhacker.net>, Guil Barros <gfbarros@bappos.com>, Rob Tillaart <rob.tillaart@gmail.com>
44
maintainer=Miles Burton <miles@mnetcs.com>
55
sentence=Arduino Library for Dallas Temperature ICs

0 commit comments

Comments
 (0)