aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTorin Cooper-Bennun <[email protected]>2024-04-16 15:13:31 +0100
committerTorin Cooper-Bennun <[email protected]>2024-04-16 15:13:31 +0100
commitd928663baeb851e830e04e469f3a338ad3f4bc15 (patch)
tree710104ee03fad309b0b436ae5403998c973c034e /docs
parent8e850de5925f14f19524a8860b289eb751fb9bf9 (diff)
stm32: adc: fix blocking_delay_us() overflowing when sys freq is high
e.g. H503 running at 250 MHz resulted in an upper bound of 17 us here. casting up to u64 for intermediate calc allows the upper bound to be increased by a factor of 1e6
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions