There was an error while loading. Please reload this page.
1 parent c03b667 commit 5a61604Copy full SHA for 5a61604
1 file changed
examples/utilities/logger.rs
@@ -74,10 +74,10 @@ cfg_if::cfg_if! {
74
use cortex_m_log::printer::semihosting;
75
use cortex_m_log::printer::semihosting::Semihosting;
76
use cortex_m_log::modes::InterruptOk;
77
- use cortex_m_semihosting::hio::HStdout;
+ use cortex_m_semihosting::hio::HostStream;
78
79
lazy_static! {
80
- static ref LOGGER: Logger<Semihosting<InterruptOk, HStdout>> = Logger {
+ static ref LOGGER: Logger<Semihosting<InterruptOk, HostStream>> = Logger {
81
level: LevelFilter::Info,
82
inner: semihosting::InterruptOk::<_>::stdout().expect("Get Semihosting stdout"),
83
};
0 commit comments