diff options
author | 2021-06-12 17:00:28 -0400 | |
---|---|---|
committer | 2021-06-12 17:00:28 -0400 | |
commit | 4a393e091b92d95754fb7c44562767e03d172ba5 (patch) | |
tree | 42ee076b199c543a5d974342f822671b279086c1 | |
parent | 81336573bc47ca12e115683cf2823fa397fdcc09 (diff) | |
download | cortex-m-4a393e091b92d95754fb7c44562767e03d172ba5.tar.gz cortex-m-4a393e091b92d95754fb7c44562767e03d172ba5.tar.zst cortex-m-4a393e091b92d95754fb7c44562767e03d172ba5.zip |
Update src/delay.rs
Co-authored-by: Vadim Kaushan <admin@disasm.info>
-rw-r--r-- | src/delay.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/delay.rs b/src/delay.rs index 750ded1..8ed1fea 100644 --- a/src/delay.rs +++ b/src/delay.rs @@ -30,6 +30,7 @@ impl Delay { } /// Delay using the Cortex-M systick for a certain duration, in µs. + #[allow(clippy::missing_inline_in_public_items)] pub fn delay_us(&mut self, us: u32) { let ticks = (u64::from(us)) * (u64::from(self.ahb_frequency)) / 1_000_000; |