aboutsummaryrefslogtreecommitdiff
path: root/examples/std
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-10-16 04:11:19 +0200
committerDario Nieuwenhuis <[email protected]>2021-10-16 04:11:19 +0200
commit4c0fa03c14b95726e4107a65e54601e07d6653ae (patch)
treedfe2295a72f3c09a34c90e67cec917c14e37b9c6 /examples/std
parent05bc4d198e558a153d78e0fa07228c73023c4b5b (diff)
interrupt: transmute instead of steal.
That steal method has a TAKEN=true write [here](https://github.com/rust-embedded/cortex-m/blob/6b013138b734b9bbeb24a345f75d2bcc1c69fa8d/src/peripheral/mod.rs#L180). This is not zero cost, we don't want it. Transmute instead, which is zero cost.
Diffstat (limited to 'examples/std')
0 files changed, 0 insertions, 0 deletions