This commit is contained in:
JiXieShi
2024-09-21 16:07:31 +08:00
parent 4e53f936d8
commit d2e5789476
27 changed files with 129 additions and 67 deletions

View File

@@ -1,6 +1,6 @@
#ifndef HW_LIB_T_KEY_H
#define HW_LIB_T_KEY_H
void Test_Key();
void 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 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);
@@ -61,4 +61,4 @@ void Test_Key() {
key_ticks();
Sleep(5);
}
}
}