Skip to content

Commit

Permalink
Reformatted via pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Oct 6, 2022
1 parent fe965bd commit f209f8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions adafruit_adxl34x.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,7 @@ def enable_tap_detection(
self._write_register_byte(_REG_INT_ENABLE, active_interrupts)
self._enabled_interrupts["tap"] = 2
else:
raise ValueError(
"tap_count must be 1 for single tap or 2 for double tap"
)
raise ValueError("tap_count must be 1 for single tap or 2 for double tap")

def disable_tap_detection(self) -> None:
"""Disable tap detection"""
Expand Down

0 comments on commit f209f8c

Please sign in to comment.