clarify panic intent

This commit is contained in:
bunnie 2026-02-15 03:20:21 +08:00
parent 000c4effab
commit e8380aa0e7

View file

@ -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());