diff options
Diffstat (limited to 'src/peripheral/itm.rs')
-rw-r--r-- | src/peripheral/itm.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peripheral/itm.rs b/src/peripheral/itm.rs index f8e9e25..7291ae0 100644 --- a/src/peripheral/itm.rs +++ b/src/peripheral/itm.rs @@ -118,6 +118,7 @@ impl core::convert::TryFrom<u8> for LocalTimestampOptions { /// Converts an integer value to an enabled [LocalTimestampOptions] /// variant. Accepted values are: 1, 4, 16, 64. Any other value /// yields `Err(())`. + #[inline] fn try_from(value: u8) -> Result<Self, Self::Error> { match value { 1 => Ok(Self::Enabled), |