FreeCalypso > hg > fc-tourmaline
changeset 210:7e225a4cd537
ETM KPD_PWR testing: add separate pressed & released calls
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 22 Apr 2021 07:30:26 +0000 |
parents | e4d70b3367be |
children | 96c7a4eed1df |
files | src/cs/services/etm/etm_tmcore.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/services/etm/etm_tmcore.c Thu Apr 22 07:22:59 2021 +0000 +++ b/src/cs/services/etm/etm_tmcore.c Thu Apr 22 07:30:26 2021 +0000 @@ -344,6 +344,12 @@ rvf_delay(5); (Kp.released)(); break; + case 5: + (Kp.pressed)(KPD_PWR); + break; + case 6: + (Kp.released)(); + break; default: error = ETM_NOSYS; }