]> granicus.if.org Git - esp-idf/commitdiff
soc: Remove deprecated LEDC struct register names (bit_num, div_num)
authorAngus Gratton <angus@espressif.com>
Wed, 21 Aug 2019 02:58:29 +0000 (12:58 +1000)
committerAngus Gratton <gus@projectgus.com>
Thu, 12 Sep 2019 23:44:07 +0000 (09:44 +1000)
Deprecated since ESP-IDF V3.0

components/soc/esp32/include/soc/ledc_struct.h

index a9f505b8f42195c596c85907899ca4fa8eb0e7bf..36c8303f897ed4faa35f27c2ea9c49e490610c62 100644 (file)
@@ -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 {