mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix build option
This commit is contained in:
parent
a081d6cd5d
commit
32893b9b4c
1 changed files with 1 additions and 0 deletions
|
|
@ -658,6 +658,7 @@ impl MemoryManager {
|
|||
}
|
||||
return Err(err);
|
||||
} else {
|
||||
#[cfg(feature = "swap")]
|
||||
if device_ram {
|
||||
let offset = (claim_phys - self.ram_start) / PAGE_SIZE;
|
||||
#[cfg(feature = "debug-swap")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue