diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-08-19 19:35:10 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-08-19 19:45:55 +0200 |
| commit | 0032f8a2ec05ed61b17dc1992f907f23f1b37f92 (patch) | |
| tree | 3f1bbe9e165fb275d62df1db083c3cd434fdf63d /embassy-net-esp-hosted | |
| parent | 2d980068c09aa8fcc6bb4fd4d2e46107ef0e997f (diff) | |
rustfmt.
Diffstat (limited to 'embassy-net-esp-hosted')
| -rw-r--r-- | embassy-net-esp-hosted/src/control.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-net-esp-hosted/src/control.rs b/embassy-net-esp-hosted/src/control.rs index 6cd57f68a..b8026611b 100644 --- a/embassy-net-esp-hosted/src/control.rs +++ b/embassy-net-esp-hosted/src/control.rs | |||
| @@ -35,9 +35,9 @@ macro_rules! ioctl { | |||
| 35 | }; | 35 | }; |
| 36 | $self.ioctl(&mut msg).await?; | 36 | $self.ioctl(&mut msg).await?; |
| 37 | let Some(proto::CtrlMsgPayload::$resp_variant($resp)) = msg.payload else { | 37 | let Some(proto::CtrlMsgPayload::$resp_variant($resp)) = msg.payload else { |
| 38 | warn!("unexpected response variant"); | 38 | warn!("unexpected response variant"); |
| 39 | return Err(Error::Internal); | 39 | return Err(Error::Internal); |
| 40 | }; | 40 | }; |
| 41 | if $resp.resp != 0 { | 41 | if $resp.resp != 0 { |
| 42 | return Err(Error::Failed($resp.resp)); | 42 | return Err(Error::Failed($resp.resp)); |
| 43 | } | 43 | } |
