spi_flash: fix unit tests compilation

pull/4273/head
Ivan Grokhotkov 2019-06-13 17:56:13 +08:00
rodzic 8cd58625d0
commit cfba50811d
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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;