mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix bits vs bytes
This commit is contained in:
parent
729a0ca6b9
commit
3d0d727094
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
pub const LINES: isize = 128;
|
||||
pub const WIDTH: isize = 128;
|
||||
pub const WORDS_PER_LINE: usize = WIDTH as usize / core::mem::size_of::<u32>();
|
||||
pub const WORDS_PER_LINE: usize = WIDTH as usize / (core::mem::size_of::<u32>() * 8);
|
||||
pub type FrBuf = [u32];
|
||||
pub const FB_SIZE: usize = WORDS_PER_LINE * LINES as usize;
|
||||
|
|
|
|||
Loading…
Reference in a new issue