diff options
Diffstat (limited to 'embassy-net-esp-hosted/src/control.rs')
| -rw-r--r-- | embassy-net-esp-hosted/src/control.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/embassy-net-esp-hosted/src/control.rs b/embassy-net-esp-hosted/src/control.rs index 227db0d09..eb79593f6 100644 --- a/embassy-net-esp-hosted/src/control.rs +++ b/embassy-net-esp-hosted/src/control.rs | |||
| @@ -177,7 +177,6 @@ impl<'a> Control<'a> { | |||
| 177 | pub async fn ota_end(&mut self) -> Result<(), Error> { | 177 | pub async fn ota_end(&mut self) -> Result<(), Error> { |
| 178 | let req = proto::CtrlMsg_Req_OTAEnd {}; | 178 | let req = proto::CtrlMsg_Req_OTAEnd {}; |
| 179 | ioctl!(self, ReqOtaEnd, RespOtaEnd, req, resp); | 179 | ioctl!(self, ReqOtaEnd, RespOtaEnd, req, resp); |
| 180 | // Ensures that run loop awaits reset | ||
| 181 | self.shared.ota_done(); | 180 | self.shared.ota_done(); |
| 182 | // Wait for re-init | 181 | // Wait for re-init |
| 183 | self.init().await?; | 182 | self.init().await?; |
