FreeCalypso > hg > fc-magnetite
diff src/g23m-aci/aci/ati_cmd.c @ 372:c389d938a50e
aci3: AT%CBC and AT@CHG hooked in
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 01 Jan 2018 19:06:34 +0000 |
parents | 5b2ebc94cae4 |
children | 8473cabf491d |
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_cmd.c Mon Jan 01 18:34:42 2018 +0000 +++ b/src/g23m-aci/aci/ati_cmd.c Mon Jan 01 19:06:34 2018 +0000 @@ -77,6 +77,7 @@ #endif #include "fc-target.cfg" +#include "rv/rv_defined_swe.h" // for RVM_FCHG_SWE #define OLD_NON_STANDARDIZED_ATCMD "&ABDEFHILMOPQSTVWXZ" @@ -758,6 +759,10 @@ EXTERN T_ATI_RSLT atAtVMPS (char *cl, UBYTE srcId); EXTERN T_ATI_RSLT atAtVMR (char *cl, UBYTE srcId); EXTERN T_ATI_RSLT atAtVMRS (char *cl, UBYTE srcId); +#ifdef RVM_FCHG_SWE +EXTERN T_ATI_RSLT atPercentCBC (char *cl, UBYTE srcId); +EXTERN T_ATI_RSLT atAtCHG (char *cl, UBYTE srcId); +#endif LOCAL const ATCommand_bas cmds_bas[] = { @@ -1213,6 +1218,10 @@ {"@VMPS", AT_CMD_AT_VMPS, atAtVMPS, 0, 0, 0}, {"@VMR", AT_CMD_AT_VMR, atAtVMR, 0, 0, 0}, {"@VMRS", AT_CMD_AT_VMRS, atAtVMRS, 0, 0, 0}, +#ifdef RVM_FCHG_SWE + {"%CBC", AT_CMD_P_CBC, atPercentCBC, 0, 0, 0}, + {"@CHG", AT_CMD_AT_CHG, atAtCHG, test_gen, 0, "%s: (0,1)"}, +#endif /* terminator */ {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL} };