Commit 045bfc4b authored by Astro's avatar Astro
Browse files

l0dable: update epic uart api

parent 73053612
......@@ -11,7 +11,7 @@ pub struct Uart;
impl Write for Uart {
fn write_str(&mut self, s: &str) -> core::fmt::Result {
unsafe {
epic_uart_write_str(s.as_ptr(), s.len() as isize);
epic_uart_write_str(s.as_ptr(), s.len());
}
Ok(())
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment