This commit is contained in:
Alex Tibbles 2022-03-28 17:01:25 -04:00
parent 5452fae33c
commit f6030fe213
No known key found for this signature in database
GPG key ID: B270E503D3300F73

View file

@ -5,8 +5,8 @@ use utralib::generated::*;
use xous::MemoryRange;
pub const FB_WIDTH_WORDS: usize = 11;
pub const FB_WIDTH_PIXELS: usize = WIDTH;
pub const FB_LINES: usize = LINES;
pub const FB_WIDTH_PIXELS: usize = WIDTH as usize;
pub const FB_LINES: usize = LINES as usize;
pub const FB_SIZE: usize = FB_WIDTH_WORDS * FB_LINES; // 44 bytes by 536 lines
const CONFIG_CLOCK_FREQUENCY: u32 = 100_000_000;