ledc_get_duty return type changed from int to uint32_t, target_duty changed from int to uint32_t See merge request !752