]> granicus.if.org Git - esp-idf/commitdiff
esp32 dport_reg.h: Fix typo in register bit names
authorAngus Gratton <angus@espressif.com>
Wed, 1 Mar 2017 01:01:07 +0000 (12:01 +1100)
committerAngus Gratton <angus@espressif.com>
Wed, 1 Mar 2017 01:01:07 +0000 (12:01 +1100)
components/esp32/include/soc/dport_reg.h
components/esp32/system_api.c

index ef231e316ed4f73f49b07443434ab207b3a035d9..131d0d8ab96353216a8383b3a57c0632959494c4 100644 (file)
 #define DPORT_CORE_RST_EN_REG          (DR_REG_DPORT_BASE + 0x0D0)
 /* DPORT_CORE_RST : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
 /*description: */
-#define DPROT_RW_BTLP_RST (BIT(10))
-#define DPROT_RW_BTMAC_RST (BIT(9))
+#define DPORT_RW_BTLP_RST (BIT(10))
+#define DPORT_RW_BTMAC_RST (BIT(9))
 #define DPORT_MACPWR_RST (BIT(8))
 #define DPORT_EMAC_RST (BIT(7))
 #define DPORT_SDIO_HOST_RST (BIT(6))
index d984af78a7084b6ea06e3e07def8f00e857391d0..60e3d859839e3ea196401ee41384ba2dbae8fa3d 100644 (file)
@@ -132,7 +132,7 @@ void IRAM_ATTR esp_restart_noos()
          DPORT_BB_RST | DPORT_FE_RST | DPORT_MAC_RST |
          DPORT_BT_RST | DPORT_BTMAC_RST | DPORT_SDIO_RST |
          DPORT_SDIO_HOST_RST | DPORT_EMAC_RST | DPORT_MACPWR_RST | 
-         DPROT_RW_BTMAC_RST | DPROT_RW_BTLP_RST);
+         DPORT_RW_BTMAC_RST | DPORT_RW_BTLP_RST);
     REG_WRITE(DPORT_CORE_RST_EN_REG, 0);
 
     // Reset timer/spi/uart