Browse Source

uncomment out `load_network_slot`

pull/140/head
Lena 1 year ago committed by Lena
parent
commit
c75003326b
No known key found for this signature in database
GPG Key ID: 5A940B96C2DA3683
  1. 6
      ctru-rs/src/services/ac.rs

6
ctru-rs/src/services/ac.rs

@ -271,7 +271,7 @@ impl Ac { @@ -271,7 +271,7 @@ impl Ac {
Ok(String::from_utf8(vec)?)
}
}
/*
/// Load the selected network slot, if present.
///
/// Note: this method requires `ac:i` access
@ -298,7 +298,6 @@ impl Ac { @@ -298,7 +298,6 @@ impl Ac {
Ok(())
}
}
*/
}
impl Drop for Ac {
@ -331,7 +330,7 @@ pub enum SecurityMode { @@ -331,7 +330,7 @@ pub enum SecurityMode {
/// WPA2-AES authentication
WPA2_AES = ctru_sys::AC_WPA2_AES,
}
/*
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
#[repr(u32)]
pub enum NetworkSlot {
@ -339,6 +338,5 @@ pub enum NetworkSlot { @@ -339,6 +338,5 @@ pub enum NetworkSlot {
Second = 1,
Third = 2,
}
*/
from_impl!(SecurityMode, ctru_sys::acSecurityMode);

Loading…
Cancel
Save