Fix M5Core2 audio when connecting ethernet

This commit is contained in:
Theo Arends 2024-02-12 21:25:19 +01:00
parent c73133b10a
commit 280b71eb41
1 changed files with 4 additions and 1 deletions

View File

@ -65,6 +65,9 @@ class AXP192_M5Stack_Core2 : AXP192
# 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