mirror of https://github.com/arendst/Tasmota.git
Fix M5Core2 audio when connecting ethernet
This commit is contained in:
parent
c73133b10a
commit
280b71eb41
|
@ -65,6 +65,9 @@ class AXP192_M5Stack_Core2 : AXP192
|
||||||
# Bit 0: TS pin ADC function enable
|
# Bit 0: TS pin ADC function enable
|
||||||
self.write8(0x82, 0xFF)
|
self.write8(0x82, 0xFF)
|
||||||
|
|
||||||
|
# Disable audio as ethernet uses the same GPIO
|
||||||
|
set_speaker_enable(false)
|
||||||
|
|
||||||
# Reset LCD Controller
|
# Reset LCD Controller
|
||||||
self.set_lcd_reset(false)
|
self.set_lcd_reset(false)
|
||||||
tasmota.delay(100) # wait for 100ms
|
tasmota.delay(100) # wait for 100ms
|
||||||
|
|
Loading…
Reference in New Issue