mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix another default case
This commit is contained in:
parent
35aa11bec9
commit
8f6880faf3
1 changed files with 3 additions and 1 deletions
|
|
@ -486,7 +486,9 @@ pub fn timeout_thread(sid0: usize, sid1: usize, sid2: usize, sid3: usize) {
|
||||||
Some(TimeoutOpcode::SetCsr) => msg_scalar_unpack!(msg, base, _, _, _, {
|
Some(TimeoutOpcode::SetCsr) => msg_scalar_unpack!(msg, base, _, _, _, {
|
||||||
csr = Some(CSR::new(base as *mut u32));
|
csr = Some(CSR::new(base as *mut u32));
|
||||||
}),
|
}),
|
||||||
#[cfg(any(feature="hosted"))]
|
#[cfg(any(feature="hosted",
|
||||||
|
not(any(feature="precursor", feature="renode", feature="hosted")) // default for crates.io
|
||||||
|
))]
|
||||||
Some(TimeoutOpcode::SetCsr) => msg_scalar_unpack!(msg, _base, _, _, _, {
|
Some(TimeoutOpcode::SetCsr) => msg_scalar_unpack!(msg, _base, _, _, _, {
|
||||||
// ignore the opcode in hosted mode
|
// ignore the opcode in hosted mode
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue