Closed stc1988 closed 1 year ago
Another good find. Thank you.
It looks like the field name bit_num
has been deprecated for some time in favor of duty_resolution
. There is a helpful comment in the ESP-IDF 4 headers (but not ESP-IDF 5!):
union {
ledc_timer_bit_t duty_resolution; /*!< LEDC channel duty resolution */
ledc_timer_bit_t bit_num __attribute__((deprecated)); /*!< Deprecated in ESP-IDF 3.0. This is an alias to 'duty_resolution' for backward compatibility with ESP-IDF 2.1 */
};
With that change, the build completes successfully. Since the only change is the name of the field, it should continue to work as always
This change should be live tomorrow (Friday in California).
Closing as the fix is now live.
Moddable: Moddable: b042dc8723af4dbdd66d840be632812256bf6e99 Build environment: macOS, Target device: eps32/m5stack_core2
Steps to Reproduce Build
examples/pins/servo
withmcconfig -d -m -p esp32/m5stack_core2
Other information