fix hosted mode warning

This commit is contained in:
bunnie 2025-12-16 01:07:49 +08:00
parent e1cde0328c
commit 9b9948e8da

View file

@ -123,7 +123,6 @@ fn main() {
HalOpcode::InvalidCall => {
log::error!("Invalid opcode received: {:?}", msg);
}
bao1x_api::HalOpcode::ConfigureBio => todo!(),
HalOpcode::SetPreemptionState => {
todo!("unimplemented opcode: {:?}", opcode);
}
@ -131,6 +130,9 @@ fn main() {
log::info!("Received quit opcode, exiting.");
break;
}
_ => {
unimplemented!("Not available in hosted mode");
}
}
}
xns.unregister_server(sid).unwrap();