1.修复按键不断有消息

This commit is contained in:
payton 2023-09-25 17:13:27 +08:00
parent 7ebfe5a653
commit 8b63a6cb6d

View File

@ -183,9 +183,9 @@ UINT32 DrvKey_DetNormalKey(void)
if (gpio_getPin(GPIO_KEY_DOWN)) { if (gpio_getPin(GPIO_KEY_DOWN)) {
uiKeyCode |= FLGKEY_DOWN; uiKeyCode |= FLGKEY_DOWN;
} }
if (gpio_getPin(GPIO_KEY_MENU)) { // if (gpio_getPin(GPIO_KEY_MENU)) {
uiKeyCode |= FLGKEY_MENU; // uiKeyCode |= FLGKEY_MENU;
} // }
// if (!gpio_getPin(GPIO_KEY_PLAYBACK)) { // if (!gpio_getPin(GPIO_KEY_PLAYBACK)) {
// uiKeyCode |= FLGKEY_MENU; // uiKeyCode |= FLGKEY_MENU;
// } // }