From: Angus Gratton Date: Wed, 21 Aug 2019 02:58:29 +0000 (+1000) Subject: soc: Remove deprecated LEDC struct register names (bit_num, div_num) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33a186f630475fe32a6d17fea1e8fb88af6839ab;p=esp-idf soc: Remove deprecated LEDC struct register names (bit_num, div_num) Deprecated since ESP-IDF V3.0 --- diff --git a/components/soc/esp32/include/soc/ledc_struct.h b/components/soc/esp32/include/soc/ledc_struct.h index a9f505b8f4..36c8303f89 100644 --- a/components/soc/esp32/include/soc/ledc_struct.h +++ b/components/soc/esp32/include/soc/ledc_struct.h @@ -79,11 +79,6 @@ typedef volatile struct ledc_dev_s { uint32_t low_speed_update: 1; /*This bit is only useful for low speed timer channels, reserved for high speed timers*/ uint32_t reserved26: 5; }; - struct { - uint32_t bit_num: 5 __attribute__((deprecated)); /*Deprecated in ESP-IDF 3.0. This is an alias to 'duty_resolution' for backward compatibility with ESP-IDF 2.1.*/ - uint32_t div_num: 18 __attribute__((deprecated)); /*Deprecated in ESP-IDF 3.0. This is an alias to 'clock_divider' for backward compatibility with ESP-IDF 2.1.*/ - uint32_t place_holder: 9 __attribute__((deprecated)); /*A place holder to accommodate deprecated members*/ - }; uint32_t val; } conf; union {