Skip to content

Commit

Permalink
delete non ascll encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
pk-love-tjy committed Jan 29, 2024
1 parent dead9b6 commit 07ed7c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions klippy/extras/lis3dh.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ def _start_measurements(self):
self.set_reg(REG_LIS3DH_CTRL_REG1_ADDR, 0x97)
self.set_reg(REG_LIS3DH_CTRL_REG2_ADDR, 0)
self.set_reg(REG_LIS3DH_CTRL_REG3_ADDR, 0)
# 10 (00: ±2 g; 01: ±4 g; 10: ±8 g; 11: ±16 g)
self.set_reg(REG_LIS3DH_CTRL_REG4_ADDR, 0x28)
# 1 FIFO enable. Default value: 0 (0: FIFO disable; 1: FIFO enable)
self.set_reg(REG_LIS3DH_CTRL_REG5_ADDR, 0x40)
self.set_reg(REG_LIS3DH_CTRL_REG6_ADDR, 0)
self.set_reg(REG_LIS3DH_FIFO_CTRL, 0)
Expand Down

0 comments on commit 07ed7c8

Please sign in to comment.