mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix hosted mode again
This commit is contained in:
parent
215f15f138
commit
ca2a47e67f
1 changed files with 3 additions and 0 deletions
|
|
@ -97,12 +97,15 @@ pub(crate) fn main_hosted() -> ! {
|
||||||
let opcode: Option<Opcode> = FromPrimitive::from_usize(msg.body.id());
|
let opcode: Option<Opcode> = FromPrimitive::from_usize(msg.body.id());
|
||||||
log::debug!("{:?}", opcode);
|
log::debug!("{:?}", opcode);
|
||||||
match opcode {
|
match opcode {
|
||||||
|
#[cfg(feature="mass-storage")]
|
||||||
Some(Opcode::SetBlockDevice) => {
|
Some(Opcode::SetBlockDevice) => {
|
||||||
log::info!("ignoring SetBlockDevice in hosted mode");
|
log::info!("ignoring SetBlockDevice in hosted mode");
|
||||||
},
|
},
|
||||||
|
#[cfg(feature="mass-storage")]
|
||||||
Some(Opcode::SetBlockDeviceSID) => {
|
Some(Opcode::SetBlockDeviceSID) => {
|
||||||
log::info!("ignoring SetBlockDeviceSID in hosted mode");
|
log::info!("ignoring SetBlockDeviceSID in hosted mode");
|
||||||
},
|
},
|
||||||
|
#[cfg(feature="mass-storage")]
|
||||||
Some(Opcode::ResetBlockDevice) => {
|
Some(Opcode::ResetBlockDevice) => {
|
||||||
log::info!("ignoring ResetBlockDevice in hosted mode");
|
log::info!("ignoring ResetBlockDevice in hosted mode");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue