Browse Source

remove use_panic_handler

pull/140/head
Lena 1 year ago committed by Lena
parent
commit
b2f8aefa5e
No known key found for this signature in database
GPG Key ID: 5A940B96C2DA3683
  1. 2
      ctru-rs/examples/wifi-info.rs

2
ctru-rs/examples/wifi-info.rs

@ -5,8 +5,6 @@
use ctru::{prelude::*, services::ac::Ac}; use ctru::{prelude::*, services::ac::Ac};
fn main() { fn main() {
ctru::use_panic_handler();
let gfx = Gfx::new().expect("Couldn't obtain GFX controller"); let gfx = Gfx::new().expect("Couldn't obtain GFX controller");
let mut hid = Hid::new().expect("Couldn't obtain HID controller"); let mut hid = Hid::new().expect("Couldn't obtain HID controller");
let apt = Apt::new().expect("Couldn't obtain APT controller"); let apt = Apt::new().expect("Couldn't obtain APT controller");

Loading…
Cancel
Save