From 6590084a1f9c23c7a1381f0c43e492ea78d983ef Mon Sep 17 00:00:00 2001 From: occheung Date: Fri, 23 Aug 2024 17:34:25 +0800 Subject: [PATCH] satman: fix unsupported message response --- src/satman/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index fb93308..177d906 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -1249,8 +1249,8 @@ fn process_aux_packet( timer ); - error!("config erasen not supported on zynq device"); - Ok(()) + error!("config erase not supported on zynq device"); + drtioaux::send(0, &drtioaux::Packet::CoreMgmtNack) } drtioaux::Packet::CoreMgmtRebootRequest { destination: _destination, @@ -1287,7 +1287,7 @@ fn process_aux_packet( ); error!("debug allocator not supported on zynq device"); - Ok(()) + drtioaux::send(0, &drtioaux::Packet::CoreMgmtNack) } p => {