Skip to content

Commit

Permalink
Merge pull request #47 from adafruit/patch-fix
Browse files Browse the repository at this point in the history
(hopefully) fixed patch by adding second set of backticks around pedometer_reset
  • Loading branch information
kattni committed Jan 20, 2022
2 parents 941d9e6 + 4f7a72b commit 1bfcfc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_lsm6ds/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class LSM6DS: # pylint: disable=too-many-instance-attributes
_ped_enable = RWBit(_LSM6DS_TAP_CFG, 6)
pedometer_steps = ROUnaryStruct(_LSM6DS_STEP_COUNTER, "<h")
"""The number of steps detected by the pedometer. You must enable with `pedometer_enable`
before calling. Use `pedometer_reset` to reset the number of steps"""
before calling. Use ``pedometer_reset`` to reset the number of steps"""
CHIP_ID = None

def __init__(self, i2c_bus: I2C, address: int = LSM6DS_DEFAULT_ADDRESS) -> None:
Expand Down

0 comments on commit 1bfcfc4

Please sign in to comment.