Skip to content

Commit a722ba1

Browse files
committed
convenience accessors for volume and audio_output properties on main fruit_jam object.
1 parent 9825076 commit a722ba1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_fruitjam/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ def __init__( # noqa: PLR0912,PLR0913,Too many branches,Too many arguments in f
194194
self.sd_check = self.peripherals.sd_check
195195
self.play_file = self.peripherals.play_file
196196
self.stop_play = self.peripherals.stop_play
197+
self.volume = self.peripherals.volume
198+
self.audio_output = self.peripherals.audio_output
197199

198200
self.image_converter_url = self.network.image_converter_url
199201
self.wget = self.network.wget

0 commit comments

Comments
 (0)