mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
clean up an error with a gratuitous print
This commit is contained in:
parent
10d613b95d
commit
7006f92e6f
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ pub struct SwapHal {
|
|||
}
|
||||
impl SwapHal {
|
||||
pub fn new(spec: &SwapSpec) -> Self {
|
||||
writeln!(DebugUart {}, "Swap HAL init",).ok();
|
||||
|
||||
// compute the MAC area needed for the total RAM size. This is a slight over-estimate
|
||||
// because once we remove the MAC area, we need even less storage, but it's a small error.
|
||||
let mac_size = (spec.swap_len as usize / 4096) * size_of::<Tag>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue