diff options
| author | robert-hh <robert@hammelrath.com> | 2022-09-25 15:50:37 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-31 11:54:46 +1100 |
| commit | 7775523b2ded41ee8929522341c242eee43e9a48 (patch) | |
| tree | 781df17e0abcbb05bcc9f4d949103aaef251c6df /extmod/vfs_lfsx_file.c | |
| parent | 5b2929a0e69a4f3667ae9f0dbbfe3677ebc840ad (diff) | |
esp32/machine_pwm: Verify PWM is active when config methods are called.
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.
Diffstat (limited to 'extmod/vfs_lfsx_file.c')
0 files changed, 0 insertions, 0 deletions
