Skip to content

Commit

Permalink
Merge branch '255-post-command-connection-status' into local-test-issl
Browse files Browse the repository at this point in the history
  • Loading branch information
shunsuke-shimomura committed Jun 16, 2024
2 parents 18d0d86 + b46984c commit 7d71484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmtc-c2a/src/kble_gs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ impl Socket {
.recv()
.await
.ok_or_else(|| anyhow!("command sender has gone"))?;
sink.send(cmd_bytes.into()).await?;
let res = sink.send(cmd_bytes.into()).await;
resp_tx
.send(Ok(()))
.send(res)
.map_err(|_| anyhow!("response receiver has gone"))?;
}
};
Expand Down

0 comments on commit 7d71484

Please sign in to comment.