aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Viktor Sonesten <v@tmplt.dev> 2021-11-21 01:22:27 +0100
committerGravatar Viktor Sonesten <v@tmplt.dev> 2021-11-21 01:34:39 +0100
commitd45bad7f6d2abdf7f1ea27868791987e87bd2876 (patch)
treeff0199e7343669647ba51330604f13b5a2f99a9b /src
parent0e647743de4a87b4a04fb02178d3a76ef053fb42 (diff)
downloadcortex-m-d45bad7f6d2abdf7f1ea27868791987e87bd2876.tar.gz
cortex-m-d45bad7f6d2abdf7f1ea27868791987e87bd2876.tar.zst
cortex-m-d45bad7f6d2abdf7f1ea27868791987e87bd2876.zip
tpiu: remove get_ prefix, as per Rust API guidelines
Diffstat (limited to 'src')
-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 9ff92d1..69693f0 100644
--- a/src/peripheral/tpiu.rs
+++ b/src/peripheral/tpiu.rs
@@ -108,7 +108,7 @@ impl TPIU {
/// Reads the supported trace output modes and the minimum size of
/// the TPIU FIFO queue for trace data.
#[inline]
- pub fn get_swo_supports() -> SWOSupports {
+ pub fn swo_supports() -> SWOSupports {
let _type = unsafe { (*Self::ptr())._type.read() };
SWOSupports {
nrz_encoding: _type.nrzvalid(),