]> granicus.if.org Git - esp-idf/commitdiff
fix ledc and spi typo
authorWangjialin <wangjialin@espressif.com>
Sun, 18 Sep 2016 11:24:43 +0000 (19:24 +0800)
committerWangjialin <wangjialin@espressif.com>
Sun, 18 Sep 2016 11:24:43 +0000 (19:24 +0800)
components/esp32/include/soc/ledc_struct.h
components/esp32/include/soc/spi_struct.h

index 26ddf6867eb74666c81bf19e3b703ef71a945477..40341f00e501c21a350ed2af9152fc6fba9ae8f8 100644 (file)
@@ -180,7 +180,7 @@ typedef volatile struct {
             uint32_t lstimer0_ovf:        1;            /*The interrupt status bit for low speed channel0  counter overflow event.*/
             uint32_t lstimer1_ovf:        1;            /*The interrupt status bit for low speed channel1  counter overflow event.*/
             uint32_t lstimer2_ovf:        1;            /*The interrupt status bit for low speed channel2  counter overflow event.*/
-            uint32_t lstimer3_ovf:        1;            /*The interrupt status bit for low speed channel3  counter overflow event.*       uint32_t duty_chng_end_hsch0: 1;            /*The interrupt status bit for high speed channel 0 duty change done event.*/
+            uint32_t lstimer3_ovf:        1;            /*The interrupt status bit for low speed channel3  counter overflow event.*/
             uint32_t duty_chng_end_hsch1: 1;            /*The interrupt status bit for high speed channel 1 duty change done event.*/
             uint32_t duty_chng_end_hsch2: 1;            /*The interrupt status bit for high speed channel 2 duty change done event.*/
             uint32_t duty_chng_end_hsch3: 1;            /*The interrupt status bit for high speed channel 3 duty change done event.*/
index 31b86308bad7023b02237c363e7ab3fe1e66fff9..5c1c93021e17d577512da02a20c0186a1c1e5aea 100644 (file)
@@ -420,7 +420,7 @@ typedef volatile struct {
         uint32_t val;
     }dma_status;
     union {
-        struct {_int_clr
+        struct {
             uint32_t inlink_dscr_empty:  1;                 /*The enable bit for lack of enough inlink descriptors.*/
             uint32_t outlink_dscr_error: 1;                 /*The enable bit for outlink descriptor error.*/
             uint32_t inlink_dscr_error:  1;                 /*The enable bit for inlink descriptor error.*/