From 015ae7e0d0680c697589f5b5e05f0dcade3e9db2 Mon Sep 17 00:00:00 2001 From: Wangjialin Date: Sun, 18 Sep 2016 19:24:43 +0800 Subject: [PATCH] fix ledc and spi typo --- components/esp32/include/soc/ledc_struct.h | 2 +- components/esp32/include/soc/spi_struct.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp32/include/soc/ledc_struct.h b/components/esp32/include/soc/ledc_struct.h index 26ddf6867e..40341f00e5 100644 --- a/components/esp32/include/soc/ledc_struct.h +++ b/components/esp32/include/soc/ledc_struct.h @@ -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.*/ diff --git a/components/esp32/include/soc/spi_struct.h b/components/esp32/include/soc/spi_struct.h index 31b86308ba..5c1c93021e 100644 --- a/components/esp32/include/soc/spi_struct.h +++ b/components/esp32/include/soc/spi_struct.h @@ -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.*/ -- 2.40.0