diff --git a/src/start/exceptions.md b/src/start/exceptions.md index e7056be7..2634cf58 100644 --- a/src/start/exceptions.md +++ b/src/start/exceptions.md @@ -81,7 +81,7 @@ use cortex_m::peripheral::syst::SystClkSource; use cortex_m_rt::{entry, exception}; use cortex_m_semihosting::{ debug, - hio::{self, HStdout}, + hio::{self, HostStream}, }; #[entry] @@ -103,7 +103,7 @@ fn main() -> ! { #[exception] fn SysTick() { static mut COUNT: u32 = 0; - static mut STDOUT: Option = None; + static mut STDOUT: Option = None; *COUNT += 1;