From 9d3204d0193de6f8bb8091687285ccad56303537 Mon Sep 17 00:00:00 2001 From: occheung Date: Fri, 20 Sep 2024 11:46:33 +0800 Subject: [PATCH] runtim mgmt: fix pull log message relaying --- artiq/firmware/runtime/mgmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/mgmt.rs b/artiq/firmware/runtime/mgmt.rs index fd39be059..5527edb3b 100644 --- a/artiq/firmware/runtime/mgmt.rs +++ b/artiq/firmware/runtime/mgmt.rs @@ -280,7 +280,7 @@ mod remote_coremgmt { buffer.extend(&data[..length as usize]); if last { - stream.write_bytes(&buffer[..length as usize])?; + stream.write_bytes(&buffer)?; buffer.clear(); } }