mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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);
|
return Err(err);
|
||||||
} else {
|
} else {
|
||||||
|
#[cfg(feature = "swap")]
|
||||||
if device_ram {
|
if device_ram {
|
||||||
let offset = (claim_phys - self.ram_start) / PAGE_SIZE;
|
let offset = (claim_phys - self.ram_start) / PAGE_SIZE;
|
||||||
#[cfg(feature = "debug-swap")]
|
#[cfg(feature = "debug-swap")]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue