Skip to content

Commit

Permalink
add transmit type args
Browse files Browse the repository at this point in the history
  • Loading branch information
liamkinne committed Aug 4, 2024
1 parent f3a02f1 commit bbc59c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/utils/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cfg_if::cfg_if! {
InterruptSync::new(
// We must not use Peripherals::steal() here to get an ITM instance, as the
// code might expect to be able to call Peripherals::take() later on.
ItmDest::new(core::mem::transmute(()))
ItmDest::new(core::mem::transmute::<(), stm32g4xx_hal::stm32::ITM>(()))
)
},
};
Expand Down

0 comments on commit bbc59c4

Please sign in to comment.