mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix a minor issue in hosted mode
This commit is contained in:
parent
01d6c61bb6
commit
f638d01289
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ fn map_fonts() -> MemoryRange {
|
|||
#[cfg(not(target_os = "none"))]
|
||||
fn map_fonts() -> MemoryRange {
|
||||
// does nothing
|
||||
let fontlen: u32 = ((fontmap::FONT_TOTAL_LEN as u32) & 0xFFFF_F000) + 0x1000 + 8;
|
||||
let fontlen: u32 = ((fontmap::FONT_TOTAL_LEN as u32 + 8) & 0xFFFF_F000) + 0x1000;
|
||||
let fontregion = xous::syscall::map_memory(
|
||||
None,
|
||||
None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue