diff options
author | 2018-05-18 19:59:07 +0200 | |
---|---|---|
committer | 2018-05-18 19:59:07 +0200 | |
commit | 39172497729e827a6bb48f899a1facf5ceb2558b (patch) | |
tree | 57a25d22679c3741da3a20a358cee0c48f5e913b /src/asm.rs | |
parent | 902d8ff191cbfad2a6735b50cc9fcb833c3e6379 (diff) | |
download | cortex-m-39172497729e827a6bb48f899a1facf5ceb2558b.tar.gz cortex-m-39172497729e827a6bb48f899a1facf5ceb2558b.tar.zst cortex-m-39172497729e827a6bb48f899a1facf5ceb2558b.zip |
v0.5.2v0.5.2
Diffstat (limited to 'src/asm.rs')
-rw-r--r-- | src/asm.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -32,6 +32,7 @@ pub fn bkpt() { /// NOTE that the delay can take much longer if interrupts are serviced during its execution. #[inline] pub fn delay(_n: u32) { + // NOTE(divide by 4) is easier to compute than `/ 3` is it's just a shift (`>> 2`). match () { #[cfg(all(cortex_m, feature = "inline-asm"))] () => unsafe { |