mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
rustfmt.
This commit is contained in:
parent
2d980068c0
commit
0032f8a2ec
@ -35,9 +35,9 @@ macro_rules! ioctl {
|
||||
};
|
||||
$self.ioctl(&mut msg).await?;
|
||||
let Some(proto::CtrlMsgPayload::$resp_variant($resp)) = msg.payload else {
|
||||
warn!("unexpected response variant");
|
||||
return Err(Error::Internal);
|
||||
};
|
||||
warn!("unexpected response variant");
|
||||
return Err(Error::Internal);
|
||||
};
|
||||
if $resp.resp != 0 {
|
||||
return Err(Error::Failed($resp.resp));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user