diff --git a/src/runtime/src/moninj.rs b/src/runtime/src/moninj.rs index a6b9bbe..425e480 100644 --- a/src/runtime/src/moninj.rs +++ b/src/runtime/src/moninj.rs @@ -79,7 +79,7 @@ mod remote_moninj { } pub async fn inject(aux_mutex: &Rc>, timer: GlobalTimer, linkno: u8, destination: u8, channel: i32, overrd: i8, value: i8) { - let _lock = aux_mutex.lock(); + let _lock = aux_mutex.async_lock().await; drtioaux_async::send(linkno, &drtioaux_async::Packet::InjectionRequest { destination: destination, channel: channel as _,