File tree 1 file changed +0
-6
lines changed 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,6 @@ def comparator_low_threshold(self, value: int) -> None:
199
199
"Comparator Threshold value must be between -32768 and 32767"
200
200
)
201
201
202
- if (self .bits == 12 ) & (value & 0x000F > 0 ):
203
- print ("4 LSBs will be truncated for ADS1015 for 12-bit value" )
204
-
205
202
self ._comparator_low_threshold = value
206
203
self ._write_register (_ADS1X15_POINTER_LO_THRES , self .comparator_low_threshold )
207
204
@@ -216,9 +213,6 @@ def comparator_high_threshold(self, value: int) -> None:
216
213
"Comparator Threshold value must be between -32768 and 32767"
217
214
)
218
215
219
- if (self .bits == 12 ) & (value & 0x000F > 0 ):
220
- print ("4 LSBs will be truncated for ADS1015 for 12-bit value" )
221
-
222
216
self ._comparator_high_threshold = value
223
217
self ._write_register (_ADS1X15_POINTER_HI_THRES , self .comparator_high_threshold )
224
218
You can’t perform that action at this time.
0 commit comments