Skip to content

Commit

Permalink
compile out isr to make unit tests happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcells committed Feb 12, 2024
1 parent 669c0cd commit e5205b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void IRAM_ATTR readFiFo()
}
}


#if I2S_USE_INTERRUPT == true
static void IRAM_ATTR i2s_isr(void *arg)
{
#if DEBUG_ADC
Expand All @@ -175,7 +175,7 @@ static void IRAM_ATTR i2s_isr(void *arg)
fifotime = micros() - fifostart;
#endif
}

#endif
// Contrary to its name (so it can be called by the library), this function reads the already converted values from fifo
// and prints optional debug information.
// When using interrupt driven sampling, it only prints debug information.
Expand Down

0 comments on commit e5205b7

Please sign in to comment.