Browse Source

Fix println! statements

pull/68/head
Andrea Ciliberti 2 years ago
parent
commit
d8e36cf68d
  1. 12
      ctru-rs/examples/system-configuration.rs

12
ctru-rs/examples/system-configuration.rs

@ -13,16 +13,16 @@ fn main() {
let _console = Console::init(gfx.top_screen.borrow_mut()); let _console = Console::init(gfx.top_screen.borrow_mut());
println!( println!(
"\x1b[0;0H{}", "\x1b[0;0HRegion: {:?}",
format!("Region: {:?}", cfgu.get_region().unwrap()) cfgu.get_region().unwrap()
); );
println!( println!(
"\x1b[10;0H{}", "\x1b[10;0HLanguage: {:?}",
format!("Language: {:?}", cfgu.get_language().unwrap()) cfgu.get_language().unwrap()
); );
println!( println!(
"\x1b[20;0H{}", "\x1b[20;0HModel: {:?}",
format!("Model: {:?}", cfgu.get_model().unwrap()) cfgu.get_model().unwrap()
); );
// Main loop // Main loop

Loading…
Cancel
Save