aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/basic/src/main.rs
diff options
context:
space:
mode:
authorMatthew W. Samsonoff <[email protected]>2022-03-02 18:35:53 -0500
committerDario Nieuwenhuis <[email protected]>2022-03-04 18:03:55 +0100
commit047ff9a2f2b1f0c4b24fe093fe94fbb5730905e4 (patch)
tree0f46942cf6758e43041e435e4f38fff169e3ae17 /docs/modules/ROOT/examples/basic/src/main.rs
parent35636953b2048394733eaff95fad17970788d08a (diff)
Use new stm32-data registers and fix AHB clock calculation
The original code for calculating the AHB clock did not account for the gap in prescaler values (32 is not an available value.) The bit shifting and math has been replaced by a `match`.
Diffstat (limited to 'docs/modules/ROOT/examples/basic/src/main.rs')
0 files changed, 0 insertions, 0 deletions