mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
Update AXP192_M5Stack_Core2.be
This commit is contained in:
parent
280b71eb41
commit
bddd9a9caf
@ -145,7 +145,7 @@ class AXP192_M5Stack_Core2 : AXP192
|
|||||||
# respond to audio events
|
# respond to audio events
|
||||||
def audio(cmd, idx, payload, raw)
|
def audio(cmd, idx, payload, raw)
|
||||||
if cmd == "power"
|
if cmd == "power"
|
||||||
self.set_speaker_enable(idx)
|
self.set_speaker_enable(idx ? 1 : 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user