This commit is contained in:
JiXieShi
2024-09-21 23:07:22 +08:00
parent 6c9a999c71
commit 8f7f72712c
27 changed files with 100 additions and 81 deletions

View File

@@ -1,6 +1,6 @@
#ifndef HW_LIB_T_KEY_H
#define HW_LIB_T_KEY_H
void Test_Key(void *pVoid);
int Test_Key(void *pVoid);
#endif //HW_LIB_T_KEY_H

View File

@@ -38,7 +38,7 @@ void Key_Call(Key_t *key) {
}
}
void Test_Key(void *pVoid) {
int Test_Key(void *pVoid) {
Key_t k1, k2, k3, k4, k5, k6, ks;
key_init(&k1, SIM_KEY_UP, 1, SIM_Key_UP);
key_init(&k2, SIM_KEY_DOWN, 1, SIM_Key_DOWN);