diff options
author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2024-10-27 14:51:37 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-10-30 16:28:17 +1100 |
commit | 548babf8a04510d99a49b2d129a9579afc33e182 (patch) | |
tree | 0ba31663fc14efb221946e04ede0d93b340ce7f3 /docs/esp8266 | |
parent | 86c71a0307a509b6c47fbb7ce1ab2d827ff92653 (diff) | |
download | micropython-548babf8a04510d99a49b2d129a9579afc33e182.tar.gz micropython-548babf8a04510d99a49b2d129a9579afc33e182.zip |
esp32/machine_pwm: Use IDF functions to calculate resolution correctly.
This commit fixes PWM configuration across C3, C6, S2 and S3 chips, which
was broken by 6d799378bad4474e77ddb2fa2187ecd6e290e0ba. Without this fix
the PWM frequency is limited to a maximum of 2446Hz (on S2 at least).
Signed-off-by: Andrew Leech <andrew@alelec.net>
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions