Skip to content

Commit 26619eb

Browse files
authored
Merge pull request #27 from relic-se/stop_play_wavfile_fix
Initialize `wavfile` in `adafruit_fruitjam.peripherals.Peripherals` constructor
2 parents 0ab431c + 5347ba3 commit 26619eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_fruitjam/peripherals.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ def __init__( # noqa: PLR0913, PLR0912
224224
except OSError:
225225
# sdcard init or mounting failed
226226
self._sd_mounted = False
227+
227228
self._mp3_decoder = None
229+
self.wavfile = None
228230

229231
@property
230232
def button1(self) -> bool:

0 commit comments

Comments
 (0)