From b563533bc86048ce1890be3713ac6f27c613c7cc Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 28 Aug 2024 17:43:21 +0800 Subject: [PATCH] local coremgmt: return the whole config after read --- 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 dc0468d1d..9f917aa6f 100644 --- a/artiq/firmware/runtime/mgmt.rs +++ b/artiq/firmware/runtime/mgmt.rs @@ -314,7 +314,7 @@ mod remote_coremgmt { buffer.extend(&value[..length as usize]); if last { - Reply::ConfigData(&value[..length as usize]).write_to(stream)?; + Reply::ConfigData(&buffer).write_to(stream)?; return Ok(()); }