mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix location of font offsets
This commit is contained in:
parent
275ae9b96c
commit
2a97d9a827
2 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@ const fontmapTemplate = `#![cfg_attr(rustfmt, rustfmt_skip)]
|
|||
#[cfg(not(feature = "cramium-soc"))]
|
||||
pub const FONT_BASE: usize = 0x2053_0000;
|
||||
#[cfg(feature = "cramium-soc")]
|
||||
pub const FONT_BASE: usize = 0x6001_0000;
|
||||
pub const FONT_BASE: usize = 0x6004_0000;
|
||||
|
||||
{{range $f := .FontDir}}#[cfg(not(feature = "cramium-soc"))]
|
||||
pub const {{$f.Name}}: usize = 0x{{$f.Len}};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#[cfg(not(feature = "cramium-soc"))]
|
||||
pub const FONT_BASE: usize = 0x2053_0000;
|
||||
#[cfg(feature = "cramium-soc")]
|
||||
pub const FONT_BASE: usize = 0x6001_0000;
|
||||
pub const FONT_BASE: usize = 0x6004_0000;
|
||||
|
||||
#[cfg(not(feature = "cramium-soc"))]
|
||||
pub const EMOJI_OFFSET: usize = 0x0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue