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 {
103103 #[ cfg( not( armv6m) ) ]
104104 #[ inline]
105105 pub fn has_exception_trace ( & self ) -> bool {
106- self . ctrl . read ( ) . notrcpkt ( ) == false
106+ ! self . ctrl . read ( ) . notrcpkt ( )
107107 }
108108
109109 /// Returns `true` if the implementation includes external match signals
110110 #[ cfg( not( armv6m) ) ]
111111 #[ inline]
112112 pub fn has_external_match ( & self ) -> bool {
113- self . ctrl . read ( ) . noexttrig ( ) == false
113+ ! self . ctrl . read ( ) . noexttrig ( )
114114 }
115115
116116 /// Returns `true` if the implementation supports a cycle counter
117117 #[ cfg( not( armv6m) ) ]
118118 #[ inline]
119119 pub fn has_cycle_counter ( & self ) -> bool {
120- self . ctrl . read ( ) . nocyccnt ( ) == false
120+ ! self . ctrl . read ( ) . nocyccnt ( )
121121 }
122122
123123 /// Returns `true` if the implementation the profiling counters
124124 #[ cfg( not( armv6m) ) ]
125125 #[ inline]
126126 pub fn has_profiling_counter ( & self ) -> bool {
127- self . ctrl . read ( ) . noprfcnt ( ) == false
127+ ! self . ctrl . read ( ) . noprfcnt ( )
128128 }
129129
130130 /// Enables the cycle counter
You can’t perform that action at this time.
0 commit comments