From c4dcf6f917eef17dd79026003bd3ec90129aa47d Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Mon, 16 Dec 2019 22:46:37 +0800 Subject: [PATCH] esp32: Fix esp_dport_access_reg_read --- components/esp32/dport_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32/dport_access.c b/components/esp32/dport_access.c index f2fea2d359..ca89028014 100644 --- a/components/esp32/dport_access.c +++ b/components/esp32/dport_access.c @@ -255,8 +255,8 @@ uint32_t IRAM_ATTR esp_dport_access_reg_read(uint32_t reg) uint32_t apb; unsigned int intLvl; __asm__ __volatile__ (\ - "movi %[APB], "XTSTR(0x3ff40078)"\n"\ "rsil %[LVL], "XTSTR(CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL)"\n"\ + "movi %[APB], "XTSTR(0x3ff40078)"\n"\ "l32i %[APB], %[APB], 0\n"\ "l32i %[REG], %[REG], 0\n"\ "wsr %[LVL], "XTSTR(PS)"\n"\