From b48df7182b3109860cab9362c49ee4bf3c3dc5e0 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 8 May 2026 03:11:58 +0800 Subject: [PATCH] make preemption switching infalliable this allows suspend/resume to complete even if there's a back-up in the hal processing these requests --- services/bao1x-hal-service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/bao1x-hal-service/src/lib.rs b/services/bao1x-hal-service/src/lib.rs index 9a10ffea1..aec1de231 100644 --- a/services/bao1x-hal-service/src/lib.rs +++ b/services/bao1x-hal-service/src/lib.rs @@ -95,7 +95,7 @@ impl Hal { 0, ), ) - .expect("Couldn't setup preemption state"); + .ok(); } }