mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
spi_flash: fix unit tests compilation
This commit is contained in:
parent
8cd58625d0
commit
cfba50811d
@ -106,6 +106,10 @@ typedef struct {
|
||||
size_t repeat_count;
|
||||
} block_task_arg_t;
|
||||
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32S2BETA
|
||||
#define int_clr_timers int_clr
|
||||
#endif
|
||||
|
||||
static void IRAM_ATTR timer_isr(void* varg) {
|
||||
block_task_arg_t* arg = (block_task_arg_t*) varg;
|
||||
TIMERG0.int_clr_timers.t0 = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user