creepy Heapless bug cropping up again...this time u32s aren't being stored right

This commit is contained in:
bunnie 2021-02-27 15:52:40 +08:00
parent 838fa25bad
commit 2795dc4d8a

View file

@ -21,8 +21,8 @@ pub struct ScanCode {
#[derive(Debug, Default, Copy, Clone)] #[derive(Debug, Default, Copy, Clone)]
pub struct RowCol { pub struct RowCol {
pub r: u32, pub r: u8,
pub c: u32, pub c: u8,
} }
#[repr(packed)] #[repr(packed)]
pub struct KeyRawStates { pub struct KeyRawStates {