examples: log: remove unused addr field

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-08-10 22:47:18 +08:00
parent cb959eb1cf
commit 4b58e5108e

View file

@ -165,7 +165,7 @@ mod implementation {
use core::fmt::{Error, Write};
pub struct Output {
addr: usize,
// addr: usize,
}
pub fn init() -> Output {
@ -187,7 +187,7 @@ mod implementation {
.expect("couldn't claim interrupt");
println!("Claimed IRQ 4");
Output {
addr: uart.as_mut_ptr() as usize,
// addr: uart.as_mut_ptr() as usize,
}
}