FreeCalypso > hg > fc-tourmaline
changeset 247:12b20090b46a
ETM: add phone-on command to FCBM
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 May 2021 21:04:52 +0000 |
parents | d25af5b7e773 |
children | a5b00817a60f |
files | src/cs/services/etm/etm_tmcore.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/services/etm/etm_tmcore.c Sun May 09 20:38:06 2021 +0000 +++ b/src/cs/services/etm/etm_tmcore.c Sun May 09 21:04:52 2021 +0000 @@ -36,6 +36,11 @@ /* FreeCalypso addition for KPD_PWR testing */ #include "kpd/kpd_power_api.h" +/* Further FreeCalypso addition: phone-on command */ +#ifdef RVM_FCBM_SWE +#include "fcbm/fcbm_send_msg.h" +#endif + // Version of the ETM CORE module // See the file etm_version.h @@ -350,6 +355,12 @@ case 6: (Kp.released)(); break; + /* Further FreeCalypso addition: phone-on command */ +#ifdef RVM_FCBM_SWE + case 7: + fcbm_message_to_task(FCBM_START_PHONE); + break; +#endif default: error = ETM_NOSYS; }