mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix a bug in debug-print when swap is not specified
a field doesn't exist that is accesed by a debug-print resource in the case of swap being inactivated
This commit is contained in:
parent
20b0ecd592
commit
6961bb3e54
1 changed files with 1 additions and 0 deletions
|
|
@ -290,6 +290,7 @@ impl MemoryManager {
|
||||||
self.ram_size
|
self.ram_size
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
#[cfg(feature = "swap")]
|
||||||
for o in 0..self.ram_size / PAGE_SIZE {
|
for o in 0..self.ram_size / PAGE_SIZE {
|
||||||
unsafe {
|
unsafe {
|
||||||
println!(
|
println!(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue