1.修复按键不断有消息
This commit is contained in:
parent
7ebfe5a653
commit
8b63a6cb6d
|
@ -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;
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user