mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix version string retrieval
This commit is contained in:
parent
0c690d8be4
commit
2f2a1bcd23
1 changed files with 0 additions and 8 deletions
|
|
@ -249,15 +249,7 @@ fn main() -> ! {
|
||||||
let mut buf = unsafe {
|
let mut buf = unsafe {
|
||||||
xous_ipc::Buffer::from_memory_message_mut(msg.body.memory_message_mut().unwrap())
|
xous_ipc::Buffer::from_memory_message_mut(msg.body.memory_message_mut().unwrap())
|
||||||
};
|
};
|
||||||
#[cfg(feature = "timestamp")]
|
|
||||||
buf.replace(version::get_version()).unwrap();
|
buf.replace(version::get_version()).unwrap();
|
||||||
#[cfg(not(feature = "timestamp"))]
|
|
||||||
{
|
|
||||||
let v = crate::api::VersionString {
|
|
||||||
version: String::from("--no-timestamp requested for build"),
|
|
||||||
};
|
|
||||||
buf.replace(v).unwrap();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
api::Opcode::LockMutex => {
|
api::Opcode::LockMutex => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue