Remove test output for serial and BGA
This commit is contained in:
parent
3dcccb2ba2
commit
7a1dcd6359
10
src/main.rs
10
src/main.rs
@ -144,22 +144,12 @@ fn main() {
|
|||||||
msg_handler.process_messages();
|
msg_handler.process_messages();
|
||||||
}
|
}
|
||||||
|
|
||||||
let ser_port = File::open("/dev/ttyS0").unwrap();
|
|
||||||
|
|
||||||
writeln!(
|
|
||||||
&ser_port,
|
|
||||||
"Hello from init with the userspace serial driver!"
|
|
||||||
)
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
while !msg_handler.registered_devices.iter().any(|x| x == "bga0") {
|
while !msg_handler.registered_devices.iter().any(|x| x == "bga0") {
|
||||||
msg_handler.process_messages();
|
msg_handler.process_messages();
|
||||||
}
|
}
|
||||||
|
|
||||||
let display = File::open("/dev/bga0").unwrap();
|
let display = File::open("/dev/bga0").unwrap();
|
||||||
|
|
||||||
writeln!(&display, "Hello from init with the BGA driver!").unwrap();
|
|
||||||
|
|
||||||
msg_handler.set_output(display);
|
msg_handler.set_output(display);
|
||||||
|
|
||||||
syslog_client
|
syslog_client
|
||||||
|
Loading…
Reference in New Issue
Block a user