File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
internal_filesystem/lib/mpos/board Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -311,10 +311,7 @@ def adc_to_voltage(adc_value):
311311}
312312
313313# Initialize AudioFlinger with I2S and buzzer
314- AudioFlinger .init (
315- i2s_pins = i2s_pins ,
316- buzzer_instance = buzzer
317- )
314+ AudioFlinger (i2s_pins = i2s_pins , buzzer_instance = buzzer )
318315
319316# === LED HARDWARE ===
320317import mpos .lights as LightsManager
Original file line number Diff line number Diff line change @@ -110,11 +110,7 @@ def adc_to_voltage(adc_value):
110110except Exception as e :
111111 print (f"Warning: powering off camera got exception: { e } " )
112112
113- # === AUDIO HARDWARE ===
114- from mpos import AudioFlinger
115-
116- # Note: Waveshare board has no buzzer or I2S audio
117- AudioFlinger .init ()
113+ # === AUDIO HARDWARE: Waveshare board has no buzzer or I2S audio so no need to initialize.
118114
119115# === LED HARDWARE ===
120116# Note: Waveshare board has no NeoPixel LEDs
You can’t perform that action at this time.
0 commit comments