Skip to content

Commit 02853a4

Browse files
committed
itm: remove useless conversion
1 parent 362ad2d commit 02853a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripheral/itm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl ITM {
184184
TimestampClkSrc::SystemClock => false,
185185
TimestampClkSrc::AsyncTPIU => true,
186186
});
187-
r.set_tracebusid(settings.bus_id.unwrap_or(0).into());
187+
r.set_tracebusid(settings.bus_id.unwrap_or(0));
188188

189189
r
190190
});

0 commit comments

Comments
 (0)