core::fmt devours your RAM and flash and explodes your stack. (#1708)
This commit is contained in:
parent
e3cc0d168c
commit
29acc46501
1 changed files with 0 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
use ch::driver::LinkState;
|
||||
use defmt::Debug2Format;
|
||||
use embassy_net_driver_channel as ch;
|
||||
use heapless::String;
|
||||
|
||||
|
@ -57,7 +56,6 @@ impl<'a> Control<'a> {
|
|||
let proto::CtrlMsgPayload::RespConnectAp(resp) = resp.payload.unwrap() else {
|
||||
panic!("unexpected resp")
|
||||
};
|
||||
debug!("======= {:?}", Debug2Format(&resp));
|
||||
assert_eq!(resp.resp, 0);
|
||||
self.state_ch.set_link_state(LinkState::Up);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue