forked from M-Labs/artiq-zynq
cargo fmt
This commit is contained in:
parent
246ba6795e
commit
dd32b6fe3f
|
@ -163,7 +163,8 @@ mod remote_coremgmt {
|
|||
clear: false,
|
||||
},
|
||||
timer,
|
||||
).await;
|
||||
)
|
||||
.await;
|
||||
|
||||
match reply {
|
||||
Ok(Packet::CoreMgmtGetLogReply { last, length, data }) => {
|
||||
|
@ -695,12 +696,7 @@ mod local_coremgmt {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub async fn config_write(
|
||||
stream: &mut TcpStream,
|
||||
cfg: &Rc<Config>,
|
||||
key: &String,
|
||||
value: Vec<u8>,
|
||||
) -> Result<()> {
|
||||
pub async fn config_write(stream: &mut TcpStream, cfg: &Rc<Config>, key: &String, value: Vec<u8>) -> Result<()> {
|
||||
let value = cfg.write(&key, value);
|
||||
if value.is_ok() {
|
||||
debug!("write success");
|
||||
|
|
Loading…
Reference in New Issue