Skip to content

Commit fe965bd

Browse files
authored
Fix faulty ValueError message
1 parent 735dbbf commit fe965bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_adxl34x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def enable_tap_detection(
390390
self._enabled_interrupts["tap"] = 2
391391
else:
392392
raise ValueError(
393-
"tap must be 0 to disable, 1 for single tap, or 2 for double tap"
393+
"tap_count must be 1 for single tap or 2 for double tap"
394394
)
395395

396396
def disable_tap_detection(self) -> None:

0 commit comments

Comments
 (0)