Update build tools to use new espflash version.
This commit is contained in:
@ -48,9 +48,12 @@ fn main() -> Result<(), EspError> {
|
||||
wifi.set_configuration(&Configuration::AccessPoint(ap_config))?;
|
||||
wifi.start()?;
|
||||
|
||||
let mac: [u8; 6] = [1, 1, 1, 1, 1, 1];
|
||||
wifi.ap_netif_mut().set_mac(&mac)?;
|
||||
|
||||
loop {
|
||||
println!("{:?}", wifi.is_up());
|
||||
std::thread::sleep(std::time::Duration::from_millis(100));
|
||||
println!("{:#?}", wifi.get_capabilities()?);
|
||||
std::thread::sleep(std::time::Duration::from_millis(10_000));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user