Skip to content

Commit 1d41884

Browse files
committed
Formatted
1 parent f6479fd commit 1d41884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_circuitplayground/circuit_playground_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def detect_taps(self):
162162
@detect_taps.setter
163163
def detect_taps(self, value):
164164
self._detect_taps = value
165-
if hasattr(board, 'A0'): # If we're on a CPX or CPC
165+
if hasattr(board, "A0"): # If we're on a CPX or CPC
166166
if value == 1:
167167
self._lis3dh.set_tap(
168168
value, 90, time_limit=4, time_latency=50, time_window=255
@@ -171,7 +171,7 @@ def detect_taps(self, value):
171171
self._lis3dh.set_tap(
172172
value, 60, time_limit=10, time_latency=50, time_window=255
173173
)
174-
else: # If we're on a CPB
174+
else: # If we're on a CPB
175175
if value == 1:
176176
self._lis3dh.set_tap(
177177
value, 93, time_limit=4, time_latency=50, time_window=255

0 commit comments

Comments
 (0)