Skip to content

Commit

Permalink
remove sound system change because it doesnt affect performance or ab…
Browse files Browse the repository at this point in the history
…ility to unlock
  • Loading branch information
finger563 committed Jun 29, 2024
1 parent d51bb3b commit abbc832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/box-emu-hal/src/i2s_audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void hal::audio_init() {

void IRAM_ATTR hal::play_audio(const uint8_t *data, uint32_t num_bytes) {
if (has_sound) {
// ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
}
// don't block here
xStreamBufferSendFromISR(tx_audio_stream, data, num_bytes, NULL);
Expand Down

0 comments on commit abbc832

Please sign in to comment.