- [FEAT] A song can lock the audio until finished

This commit is contained in:
2022-12-28 14:07:41 +01:00
parent 9835f4dc4a
commit 40c2b009a9
5 changed files with 19 additions and 10 deletions

View File

@@ -983,8 +983,8 @@ bool freadb() {
return strcmp(fstr, "true")==0?true:false;
}
void playchirp(const char *song) {
chirp_play(song);
void playchirp(const char *song, const bool lock) {
chirp_play(song, lock);
}
void exit() {