Skip to content

Commit 20854e7

Browse files
committed
removing unused regs
1 parent 47916c5 commit 20854e7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

adafruit_lps35hw.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,12 @@ class LPS35HW: # pylint: disable=too-many-instance-attributes
129129

130130
_raw_temperature = UnaryStruct(_TEMP_OUT_L, "<h")
131131
_raw_pressure = ROBits(24, _PRESS_OUT_XL, 0, 3)
132-
_reference_pressure = RWBits(24, _REF_P_XL, 0, 3)
133-
_pressure_offset = RWBits(16, _RPDS_L, 0, 2)
134132

135133
_block_updates = RWBit(_CTRL_REG1, 1)
136-
137134
_reset = RWBit(_CTRL_REG2, 2)
138135
_one_shot = RWBit(_CTRL_REG2, 0)
139136

140-
# registers for configuring INT pin behavior
141-
_interrupt_cfg = UnaryStruct(_CTRL_REG3, "<B") # to read all values for latching?
142-
143137
# INT status registers
144-
_interrupt_active = RWBit(_INT_SOURCE, 2)
145138
_pressure_low = RWBit(_INT_SOURCE, 1)
146139
_pressure_high = RWBit(_INT_SOURCE, 0)
147140

0 commit comments

Comments
 (0)