mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
增加注释
This commit is contained in:
@@ -16,6 +16,7 @@ void Key_Port_Init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// mode: 0 - sigle press, 1 - long press
|
// mode: 0 - sigle press, 1 - long press
|
||||||
|
// return: 0 - no key press, 1 - KEYB, 2 - KEYY, 3 - KEYL, 4 - KEYR, 5 - KEYN
|
||||||
uint8_t KeyScan(uint8_t mode)
|
uint8_t KeyScan(uint8_t mode)
|
||||||
{
|
{
|
||||||
static uint8_t key_up = 1;
|
static uint8_t key_up = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user