From 280b71eb4153b91817172508255c097d958cd748 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 12 Feb 2024 21:25:19 +0100 Subject: [PATCH] Fix M5Core2 audio when connecting ethernet --- tasmota/berry/drivers/AXP192_M5Stack_Core2.be | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasmota/berry/drivers/AXP192_M5Stack_Core2.be b/tasmota/berry/drivers/AXP192_M5Stack_Core2.be index 33342bd82..fbe8921c7 100644 --- a/tasmota/berry/drivers/AXP192_M5Stack_Core2.be +++ b/tasmota/berry/drivers/AXP192_M5Stack_Core2.be @@ -64,7 +64,10 @@ class AXP192_M5Stack_Core2 : AXP192 # Bit 1: APS voltage ADC enable # Bit 0: TS pin ADC function enable self.write8(0x82, 0xFF) - + + # Disable audio as ethernet uses the same GPIO + set_speaker_enable(false) + # Reset LCD Controller self.set_lcd_reset(false) tasmota.delay(100) # wait for 100ms