mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
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:
parent
1087405eb9
commit
a6320ef290
1 changed files with 2 additions and 0 deletions
|
|
@ -762,6 +762,7 @@ fn process_read_command(this: &mut CorigineUsb, cbw: Cbw) {
|
||||||
length as usize,
|
length as usize,
|
||||||
);
|
);
|
||||||
this.ms_state = UmsState::DataPhase;
|
this.ms_state = UmsState::DataPhase;
|
||||||
|
csw.update_hw();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
crate::println_d!(
|
crate::println_d!(
|
||||||
|
|
@ -796,6 +797,7 @@ fn process_read_command(this: &mut CorigineUsb, cbw: Cbw) {
|
||||||
);
|
);
|
||||||
this.ms_state = UmsState::DataPhase;
|
this.ms_state = UmsState::DataPhase;
|
||||||
}
|
}
|
||||||
|
csw.update_hw();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn process_write_command(this: &mut CorigineUsb, cbw: Cbw) {
|
fn process_write_command(this: &mut CorigineUsb, cbw: Cbw) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue