diff options
author | 2021-11-21 01:22:27 +0100 | |
---|---|---|
committer | 2021-11-21 01:34:39 +0100 | |
commit | d45bad7f6d2abdf7f1ea27868791987e87bd2876 (patch) | |
tree | ff0199e7343669647ba51330604f13b5a2f99a9b /src | |
parent | 0e647743de4a87b4a04fb02178d3a76ef053fb42 (diff) | |
download | cortex-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.rs | 2 |
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(), |