diff options
-rw-r--r-- | drv_GLCD2USB.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_GLCD2USB.c b/drv_GLCD2USB.c index f883f32..eb58ea4 100644 --- a/drv_GLCD2USB.c +++ b/drv_GLCD2USB.c @@ -541,7 +541,7 @@ static int drv_GLCD2USB_keypad(const int num) else val = WIDGET_KEY_RELEASED; - return val | keys[num & 0x7f]; + return val | keys[num & 0x03]; } /* initialize driver & display */ |