Skip to content

Commit bc762a6

Browse files
Fix Stim reexport on thumbv8m.base
1 parent 34852c1 commit bc762a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/itm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ use core::{fmt, mem, ptr, slice};
66

77
use aligned::{Aligned, A4};
88

9-
#[cfg(thumbv8m_base)]
9+
#[cfg(armv8m_base)]
1010
use crate::peripheral::itm::Stim;
11-
#[cfg(not(thumbv8m_base))]
11+
#[cfg(not(armv8m_base))]
1212
use cortex_m_0_7::peripheral::itm::Stim;
1313

1414
// NOTE assumes that `bytes` is 32-bit aligned

0 commit comments

Comments
 (0)