From 644e24be349c213e0597ab3005c858ebc0d3fe44 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 0962fcc97..95ac3870b 100644 --- a/artiq/firmware/runtime/mgmt.rs +++ b/artiq/firmware/runtime/mgmt.rs @@ -333,7 +333,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(()); }