From b53266e9e6be241a0bd5fb5ea28d1d3216aba9f6 Mon Sep 17 00:00:00 2001 From: occheung Date: Tue, 12 Nov 2024 12:04:01 +0800 Subject: [PATCH] artiq: use async RPC for attributes writeback --- nac3artiq/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3artiq/src/codegen.rs b/nac3artiq/src/codegen.rs index 0cc24e45..8bec23ba 100644 --- a/nac3artiq/src/codegen.rs +++ b/nac3artiq/src/codegen.rs @@ -1088,7 +1088,7 @@ pub fn attributes_writeback<'ctx>( let args: Vec<_> = values.into_iter().map(|(_, val)| (None, ValueEnum::Dynamic(val))).collect(); if let Err(e) = - rpc_codegen_callback_fn(ctx, None, (&fun, PrimDef::Int32.id()), args, generator, false) + rpc_codegen_callback_fn(ctx, None, (&fun, PrimDef::Int32.id()), args, generator, true) { return Ok(Err(e)); }