aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/tpiu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/peripheral/tpiu.rs')
-rw-r--r--src/peripheral/tpiu.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/tpiu.rs b/src/peripheral/tpiu.rs
index 5d2c2bb..0762495 100644
--- a/src/peripheral/tpiu.rs
+++ b/src/peripheral/tpiu.rs
@@ -150,7 +150,7 @@ impl TPIU {
/// the TPIU FIFO queue for trace data.
#[inline]
pub fn swo_supports() -> SWOSupports {
- let _type = unsafe { (*Self::ptr())._type.read() };
+ let _type = unsafe { (*Self::PTR)._type.read() };
SWOSupports {
nrz_encoding: _type.nrzvalid(),
manchester_encoding: _type.mancvalid(),