fix missing csw update - maybe this resolves some of the debian issues?

this was found by the latest version of rustc
This commit is contained in:
bunnie 2026-01-06 13:40:17 +08:00
parent 1087405eb9
commit a6320ef290

View file

@ -762,6 +762,7 @@ fn process_read_command(this: &mut CorigineUsb, cbw: Cbw) {
length as usize,
);
this.ms_state = UmsState::DataPhase;
csw.update_hw();
return;
}
crate::println_d!(
@ -796,6 +797,7 @@ fn process_read_command(this: &mut CorigineUsb, cbw: Cbw) {
);
this.ms_state = UmsState::DataPhase;
}
csw.update_hw();
}
fn process_write_command(this: &mut CorigineUsb, cbw: Cbw) {