Skip to content

Commit d45bad7

Browse files
committed
tpiu: remove get_ prefix, as per Rust API guidelines
1 parent 0e64774 commit d45bad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripheral/tpiu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl TPIU {
108108
/// Reads the supported trace output modes and the minimum size of
109109
/// the TPIU FIFO queue for trace data.
110110
#[inline]
111-
pub fn get_swo_supports() -> SWOSupports {
111+
pub fn swo_supports() -> SWOSupports {
112112
let _type = unsafe { (*Self::ptr())._type.read() };
113113
SWOSupports {
114114
nrz_encoding: _type.nrzvalid(),

0 commit comments

Comments
 (0)