diff options
author | 2021-04-30 02:26:51 +0200 | |
---|---|---|
committer | 2021-04-30 02:26:51 +0200 | |
commit | 930558078e32bff74c101e2f1725f4d94f8c6902 (patch) | |
tree | 4c92fa899589abb89deae7ec8e92a384af9bca61 /src | |
parent | be983a3cb4c46646172e92a1b8abaf872faed58b (diff) | |
download | cortex-m-930558078e32bff74c101e2f1725f4d94f8c6902.tar.gz cortex-m-930558078e32bff74c101e2f1725f4d94f8c6902.tar.zst cortex-m-930558078e32bff74c101e2f1725f4d94f8c6902.zip |
dwt: add missing #[inline]
Diffstat (limited to 'src')
-rw-r--r-- | src/peripheral/dwt.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peripheral/dwt.rs b/src/peripheral/dwt.rs index fd2c6d6..77be0cc 100644 --- a/src/peripheral/dwt.rs +++ b/src/peripheral/dwt.rs @@ -173,6 +173,7 @@ pub enum DWTError { impl Comparator { /// Configure the function of the comparator + #[inline] pub fn configure(&mut self, settings: ComparatorFunction) -> Result<(), DWTError> { match settings { ComparatorFunction::Address(settings) => unsafe { |