diff src/g23m-aci/aci/ati_cmd.c @ 296:a927f030a4e0

add AT@VIBR and AT@VIBS commands for testing VIBR SWE
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Mar 2022 00:43:11 +0000
parents fa8dc04885d8
children 91e61d00a6b5
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_cmd.c	Sun Mar 27 19:44:08 2022 +0000
+++ b/src/g23m-aci/aci/ati_cmd.c	Mon Mar 28 00:43:11 2022 +0000
@@ -782,6 +782,10 @@
 #endif
 EXTERN T_ATI_RSLT atPlusIOR (char *cl, UBYTE srcId);
 EXTERN T_ATI_RSLT atPlusIOW (char *cl, UBYTE srcId);
+#ifdef RVM_VIBR_SWE
+EXTERN T_ATI_RSLT atAtVIBR (char *cl, UBYTE srcId);
+EXTERN T_ATI_RSLT atAtVIBS (char *cl, UBYTE srcId);
+#endif
 
 LOCAL const ATCommand_bas cmds_bas[] =
 {
@@ -1257,6 +1261,10 @@
     {"+IOR",	AT_CMD_IOR,      atPlusIOR,	test_gen, 0,	"%s: (0-13)"},
     {"+IOW",	AT_CMD_IOW,      atPlusIOW,	test_gen, 0,
 						"%s: (0-13),(0,1)"},
+#ifdef RVM_VIBR_SWE
+    {"@VIBR",	AT_CMD_AT_VIBR,  atAtVIBR,	0,	0,	0},
+    {"@VIBS",	AT_CMD_AT_VIBS,  atAtVIBS,	0,	0,	0},
+#endif
     /* terminator */
     {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL}
 };