File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ bitfield! {
41
41
get_syncena, set_synena: 2 ;
42
42
get_txena, set_txena: 3 ;
43
43
get_swoena, set_swoena: 4 ;
44
- u8 , get_tsprescale, set_tsprecale : 9 , 8 ;
44
+ u8 , get_tsprescale, set_tsprescale : 9 , 8 ;
45
45
u8 , get_gtsfreq, set_gtsfreq: 11 , 10 ;
46
46
u8 , get_tracebusid, set_tracebusid: 22 , 16 ;
47
47
busy, _: 23 ;
@@ -168,7 +168,7 @@ impl ITM {
168
168
r. set_itmena ( settings. enable ) ;
169
169
r. set_tsena ( settings. local_timestamps != LocalTimestampOptions :: Disabled ) ;
170
170
r. set_txena ( settings. forward_dwt ) ;
171
- r. set_tsprecale ( match settings. local_timestamps {
171
+ r. set_tsprescale ( match settings. local_timestamps {
172
172
LocalTimestampOptions :: Disabled | LocalTimestampOptions :: Enabled => 0b00 ,
173
173
LocalTimestampOptions :: EnabledDiv4 => 0b10 ,
174
174
LocalTimestampOptions :: EnabledDiv16 => 0b10 ,
You can’t perform that action at this time.
0 commit comments