mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
Checks are added for pwm.freq(), pwm_duty(), pwm_duty_u10() and pwm.duty_u16(). This avoids a core dump on ESP32C3, and misleading error messages on Xtensa ESP32 devices.