From 2795dc4d8a35686bd53678641eb066a236b76387 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 27 Feb 2021 15:52:40 +0800 Subject: [PATCH] creepy Heapless bug cropping up again...this time u32s aren't being stored right --- services/keyboard/src/api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/keyboard/src/api.rs b/services/keyboard/src/api.rs index 547e9c23f..ea8e8c0fb 100644 --- a/services/keyboard/src/api.rs +++ b/services/keyboard/src/api.rs @@ -21,8 +21,8 @@ pub struct ScanCode { #[derive(Debug, Default, Copy, Clone)] pub struct RowCol { - pub r: u32, - pub c: u32, + pub r: u8, + pub c: u8, } #[repr(packed)] pub struct KeyRawStates {