aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/dwt.rs1
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 {