aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-01-12 01:00:50 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2022-01-12 01:00:50 +0000
commit73def59d886beb456c892e60e3b4ed16f5f92f31 (patch)
tree49c0e35615388c3fd9eed8a6b94721439a6e5eec /src
parent0ffd08328a3ec20974d72ea87a2883d8c9135411 (diff)
downloadcortex-m-73def59d886beb456c892e60e3b4ed16f5f92f31.tar.gz
cortex-m-73def59d886beb456c892e60e3b4ed16f5f92f31.tar.zst
cortex-m-73def59d886beb456c892e60e3b4ed16f5f92f31.zip
Update GHA for integrated cortex-m-rt
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/itm.rs1
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),