Skip to content

Commit

Permalink
Berry audio final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored Sep 23, 2023
1 parent c1041af commit dc30d74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/Berry.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,10 @@ DAC can also be used via `Esp8266Audio` through the ESP32 I2S -> DAC bridge.

def fast_loop()
if self.audio_mp3.isrunning()
self.audio_mp3.loop()
else
tasmota.remove_fast_loop(self.fast_loop_closure)
print("end")
if !self.audio_mp3.loop()
self.audio_mp3.stop()
tasmota.remove_fast_loop(self.fast_loop_closure)
end
end
end
end
Expand Down

0 comments on commit dc30d74

Please sign in to comment.