Merge pull request #395 from matej-almasi/master
Fix incorrect type for semihosted stdout stream #394
diff --git a/src/start/exceptions.md b/src/start/exceptions.md
index e7056be..2634cf5 100644
--- a/src/start/exceptions.md
+++ b/src/start/exceptions.md
@@ -81,7 +81,7 @@
use cortex_m_rt::{entry, exception};
use cortex_m_semihosting::{
debug,
- hio::{self, HStdout},
+ hio::{self, HostStream},
};
#[entry]
@@ -103,7 +103,7 @@
#[exception]
fn SysTick() {
static mut COUNT: u32 = 0;
- static mut STDOUT: Option<HStdout> = None;
+ static mut STDOUT: Option<HostStream> = None;
*COUNT += 1;