@ -23,10 +23,7 @@ fn main() {
let server = TcpListener::bind("0.0.0.0:80").unwrap();
server.set_nonblocking(true).unwrap();
println!(
"Point your browser to http://{}/\n",
soc.host_address()
);
println!("Point your browser to http://{}/\n", soc.host_address());
while apt.main_loop() {
gfx.wait_for_vblank();
@ -19,10 +19,7 @@ impl<'screen> Console<'screen> {
unsafe { consoleInit(screen.as_raw(), context.as_mut()) };
Console {
context,
screen,
}
Console { context, screen }
/// Select this console as the current target for stdout