aboutsummaryrefslogtreecommitdiff
path: root/examples/std
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-05-16 22:45:50 +0200
committerpennae <[email protected]>2023-05-17 21:36:19 +0200
commitf79d8cb2d3998662eb4555d424cc75f3899a3151 (patch)
tree39997a67fd4ad6a52c4384b660d567134fe272f5 /examples/std
parent0d4ab559a717cef0b9a86186142f403252f38a9b (diff)
rp/clocks: store clock frequencies in ram
don't recalculate clock frequencies every time they are asked for. while this is not very often in practice it does consume a bunch of flash space that cannot be optimized away, and was pulled in unconditionally previously. while we technically only need the configured rosc, xosc and gpin frequencies it is easier to store all frequencies (and much cheaper at runtime too).
Diffstat (limited to 'examples/std')
0 files changed, 0 insertions, 0 deletions