mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-29 21:30:39 +00:00
Apply rustfmt fix (#2210)
This commit is contained in:
parent
37fa662fe7
commit
3ee8fa61ee
@ -2273,8 +2273,14 @@ impl<'d> WifiController<'d> {
|
||||
// see https://docs.rs/smoltcp/0.7.1/smoltcp/phy/index.html
|
||||
#[cfg(feature = "smoltcp")]
|
||||
impl<MODE: WifiDeviceMode> Device for WifiDevice<'_, MODE> {
|
||||
type RxToken<'a> = WifiRxToken<MODE> where Self: 'a;
|
||||
type TxToken<'a> = WifiTxToken<MODE> where Self: 'a;
|
||||
type RxToken<'a>
|
||||
= WifiRxToken<MODE>
|
||||
where
|
||||
Self: 'a;
|
||||
type TxToken<'a>
|
||||
= WifiTxToken<MODE>
|
||||
where
|
||||
Self: 'a;
|
||||
|
||||
fn receive(
|
||||
&mut self,
|
||||
@ -2804,8 +2810,14 @@ pub(crate) mod embassy {
|
||||
}
|
||||
|
||||
impl<MODE: WifiDeviceMode> Driver for WifiDevice<'_, MODE> {
|
||||
type RxToken<'a> = WifiRxToken<MODE> where Self: 'a;
|
||||
type TxToken<'a> = WifiTxToken<MODE> where Self: 'a;
|
||||
type RxToken<'a>
|
||||
= WifiRxToken<MODE>
|
||||
where
|
||||
Self: 'a;
|
||||
type TxToken<'a>
|
||||
= WifiTxToken<MODE>
|
||||
where
|
||||
Self: 'a;
|
||||
|
||||
fn receive(
|
||||
&mut self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user