diff options
author | 2020-07-09 00:34:10 +0200 | |
---|---|---|
committer | 2020-07-09 00:34:10 +0200 | |
commit | 13d9b2f1da30b89f4746b689ad976d773d4f387a (patch) | |
tree | dd73ba692dc864bfed557a4da41f64697dd20113 | |
parent | dc7e636bbaa0912ac97d0bceac27f0d7675e7023 (diff) | |
download | cortex-m-13d9b2f1da30b89f4746b689ad976d773d4f387a.tar.gz cortex-m-13d9b2f1da30b89f4746b689ad976d773d4f387a.tar.zst cortex-m-13d9b2f1da30b89f4746b689ad976d773d4f387a.zip |
Expand iff and reword last sentence
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
-rw-r--r-- | src/asm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,8 +31,8 @@ pub fn bkpt() { /// /// NOTE that the delay can take much longer if interrupts are serviced during its execution /// and the execution time may vary with other factors. This delay is mainly useful for simple -/// timer-less initialization of peripherals iff accurate timing is not essential. In any other -/// case please use more accurate methods to cause a delay. +/// timer-less initialization of peripherals if and only if accurate timing is not essential. In +/// any other case please use a more accurate method to produce a delay. #[inline] pub fn delay(_n: u32) { // NOTE(divide by 4) is easier to compute than `/ 3` because it's just a shift (`>> 2`). |