Skip to content

Commit 1922a7c

Browse files
committed
add missing IRAM_ATTR to tx_sent_callback
1 parent 5327353 commit 1922a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/esp-box/src/audio.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ using namespace espp;
88

99
static TaskHandle_t play_audio_task_handle_ = NULL;
1010

11-
static bool audio_tx_sent_callback(i2s_chan_handle_t handle, i2s_event_data_t *event,
12-
void *user_ctx) {
11+
static bool IRAM_ATTR audio_tx_sent_callback(i2s_chan_handle_t handle, i2s_event_data_t *event,
12+
void *user_ctx) {
1313
// notify the main task that we're done
1414
vTaskNotifyGiveFromISR(play_audio_task_handle_, NULL);
1515
return true;

0 commit comments

Comments
 (0)