Skip to content

Commit b508e65

Browse files
committed
Blackened.
1 parent dd3b5a3 commit b508e65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_circuitplayground/circuit_playground_base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,9 +711,7 @@ def _generate_sample(self, length=100, waveform="sine"):
711711
self._wave = array.array("H", self._square_sample(length))
712712
else:
713713
self._wave = array.array("H", self._sine_sample(length))
714-
self._sample = self._audio_out( # pylint: disable=not-callable
715-
board.SPEAKER
716-
)
714+
self._sample = self._audio_out(board.SPEAKER) # pylint: disable=not-callable
717715
self._wave_sample = audiocore.RawSample(self._wave)
718716

719717
def play_tone(self, frequency, duration, waveform="sine"):

0 commit comments

Comments
 (0)