Merge pull request #124 from alextibbles/buildfix

build fix for 5452fae33c
This commit is contained in:
bunnie 2022-03-29 05:29:53 +08:00 committed by GitHub
commit aaa68def7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;