From 89e822813b1160b46259d389ffdc031928288a0a Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Sun, 15 Nov 2020 21:16:49 +0100 Subject: [PATCH] Adding the remaining part of issue #5 fix, forgot in the previous commit --- platform/drivers/keyboard/keyboard_MDxx380.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/drivers/keyboard/keyboard_MDxx380.c b/platform/drivers/keyboard/keyboard_MDxx380.c index ad05c5d8..17b6229c 100644 --- a/platform/drivers/keyboard/keyboard_MDxx380.c +++ b/platform/drivers/keyboard/keyboard_MDxx380.c @@ -103,8 +103,8 @@ uint32_t kbd_getKeys() gpio_setPin(KB_ROW3); delayUs(1); - if(gpio_readPin(LCD_D6)) keys |= KEY_F1; - if(gpio_readPin(LCD_D7)) keys |= KEY_MONI; + if(gpio_readPin(FUNC_SW)) keys |= KEY_F1; + if(gpio_readPin(MONI_SW)) keys |= KEY_MONI; gpio_clearPin(KB_ROW3); return keys;