Skip to content

Commit 5a61604

Browse files
committed
fix semihosting examples
1 parent c03b667 commit 5a61604

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/utilities/logger.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ cfg_if::cfg_if! {
7474
use cortex_m_log::printer::semihosting;
7575
use cortex_m_log::printer::semihosting::Semihosting;
7676
use cortex_m_log::modes::InterruptOk;
77-
use cortex_m_semihosting::hio::HStdout;
77+
use cortex_m_semihosting::hio::HostStream;
7878

7979
lazy_static! {
80-
static ref LOGGER: Logger<Semihosting<InterruptOk, HStdout>> = Logger {
80+
static ref LOGGER: Logger<Semihosting<InterruptOk, HostStream>> = Logger {
8181
level: LevelFilter::Info,
8282
inner: semihosting::InterruptOk::<_>::stdout().expect("Get Semihosting stdout"),
8383
};

0 commit comments

Comments
 (0)