From e8380aa0e7acc71d98b21599f5fe4457cba9efe9 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 15 Feb 2026 03:20:21 +0800 Subject: [PATCH] clarify panic intent --- libs/bao1x-hal/src/usb/driver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bao1x-hal/src/usb/driver.rs b/libs/bao1x-hal/src/usb/driver.rs index 54e0405fc..2cdddc79f 100644 --- a/libs/bao1x-hal/src/usb/driver.rs +++ b/libs/bao1x-hal/src/usb/driver.rs @@ -3014,7 +3014,7 @@ pub fn handle_event_inner(this: &mut CorigineUsb, event_trb: &mut EventTrbS) -> ret = CrgEvent::Data(0, 0, 1); } TrbType::DataStage => { - panic!("data stage needs handling"); + unimplemented!("data stage needs handling"); } _ => { println!("Unexpected trb_type {:?}", event_trb.get_trb_type());