summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorPaul Grayson <pdg@alum.mit.edu>2022-12-14 19:19:21 -0800
committerDamien George <damien@micropython.org>2023-01-12 16:28:12 +1100
commitf0f5c6568de8a194f4f77c19f4e2087b87d1ab7e (patch)
treed0e7750dc6d147c4aa0955ebfc16435ac3058f4d /docs/esp32/tutorial
parentb5823604a005de9232b482ce8f820735e8f69106 (diff)
rp2/machine_pwm: Fix overflows with freq > 268 MHz.
There were several places where 32-bit integer could overflow with frequencies of 2^28 Hz or above (~268 MHz). This fixes those overflows and also introduces rounding for more accurate duty_ns computations. Signed-off-by: Paul Grayson <pdg@alum.mit.edu>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions