File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 37
37
#define DEVICE_DISCONNECTED_F -427
38
38
#define DEVICE_DISCONNECTED_RAW -32640
39
39
40
+ #define DEVICE_FAULT_OPEN_C -254
41
+ #define DEVICE_FAULT_OPEN_F -425.199982
42
+ #define DEVICE_FAULT_OPEN_RAW -32512
43
+
44
+ #define DEVICE_FAULT_SHORTGND_C -253
45
+ #define DEVICE_FAULT_SHORTGND_F -423.399994
46
+ #define DEVICE_FAULT_SHORTGND_RAW -32384
47
+
48
+ #define DEVICE_FAULT_SHORTVDD_C -252
49
+ #define DEVICE_FAULT_SHORTVDD_F -421.599976
50
+ #define DEVICE_FAULT_SHORTVDD_RAW -32256
51
+
40
52
// For readPowerSupply on oneWire bus
41
53
// definition of nullptr for C++ < 11, using official workaround:
42
54
// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
Original file line number Diff line number Diff line change @@ -76,3 +76,12 @@ calculateTemperature KEYWORD2
76
76
DEVICE_DISCONNECTED_C LITERAL1
77
77
DEVICE_DISCONNECTED_F LITERAL1
78
78
DEVICE_DISCONNECTED_RAW LITERAL1
79
+ DEVICE_FAULT_OPEN_C LITERAL1
80
+ DEVICE_FAULT_OPEN_F LITERAL1
81
+ DEVICE_FAULT_OPEN_RAW LITERAL1
82
+ DEVICE_FAULT_SHORTGND_C LITERAL1
83
+ DEVICE_FAULT_SHORTGND_F LITERAL1
84
+ DEVICE_FAULT_SHORTGND_RAW LITERAL1
85
+ DEVICE_FAULT_SHORTVDD_C LITERAL1
86
+ DEVICE_FAULT_SHORTVDD_F LITERAL1
87
+ DEVICE_FAULT_SHORTVDD_RAW LITERAL1
You can’t perform that action at this time.
0 commit comments