Skip to content

Commit 3f33c18

Browse files
committed
fix _audio_output initialization error
1 parent eb35d69 commit 3f33c18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_fruitjam/peripherals.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def __init__(self, audio_output="headphone", safe_volume_limit=15):
159159
# set sample rate & bit depth
160160
self._dac.configure_clocks(sample_rate=11030, bit_depth=16)
161161

162+
self._audio_output = audio_output
162163
self.audio_output = audio_output
163164
self._audio = audiobusio.I2SOut(board.I2S_BCLK, board.I2S_WS, board.I2S_DIN)
164165
if safe_volume_limit < 1 or safe_volume_limit > 20:

0 commit comments

Comments
 (0)