File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,28 +103,28 @@ impl DWT {
103
103
#[ cfg( not( armv6m) ) ]
104
104
#[ inline]
105
105
pub fn has_exception_trace ( & self ) -> bool {
106
- self . ctrl . read ( ) . notrcpkt ( ) == false
106
+ ! self . ctrl . read ( ) . notrcpkt ( )
107
107
}
108
108
109
109
/// Returns `true` if the implementation includes external match signals
110
110
#[ cfg( not( armv6m) ) ]
111
111
#[ inline]
112
112
pub fn has_external_match ( & self ) -> bool {
113
- self . ctrl . read ( ) . noexttrig ( ) == false
113
+ ! self . ctrl . read ( ) . noexttrig ( )
114
114
}
115
115
116
116
/// Returns `true` if the implementation supports a cycle counter
117
117
#[ cfg( not( armv6m) ) ]
118
118
#[ inline]
119
119
pub fn has_cycle_counter ( & self ) -> bool {
120
- self . ctrl . read ( ) . nocyccnt ( ) == false
120
+ ! self . ctrl . read ( ) . nocyccnt ( )
121
121
}
122
122
123
123
/// Returns `true` if the implementation the profiling counters
124
124
#[ cfg( not( armv6m) ) ]
125
125
#[ inline]
126
126
pub fn has_profiling_counter ( & self ) -> bool {
127
- self . ctrl . read ( ) . noprfcnt ( ) == false
127
+ ! self . ctrl . read ( ) . noprfcnt ( )
128
128
}
129
129
130
130
/// Enables the cycle counter
You can’t perform that action at this time.
0 commit comments