Skip to content

Commit 41f688a

Browse files
authored
Merge pull request #395 from matej-almasi/master
Fix incorrect type for semihosted stdout stream #394
2 parents 10fa1e0 + 9e53f77 commit 41f688a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/start/exceptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ use cortex_m::peripheral::syst::SystClkSource;
8181
use cortex_m_rt::{entry, exception};
8282
use cortex_m_semihosting::{
8383
debug,
84-
hio::{self, HStdout},
84+
hio::{self, HostStream},
8585
};
8686
8787
#[entry]
@@ -103,7 +103,7 @@ fn main() -> ! {
103103
#[exception]
104104
fn SysTick() {
105105
static mut COUNT: u32 = 0;
106-
static mut STDOUT: Option<HStdout> = None;
106+
static mut STDOUT: Option<HostStream> = None;
107107
108108
*COUNT += 1;
109109

0 commit comments

Comments
 (0)