comparison rvinterf/tmsh/misc.c @ 69:2159f260ed13

fc-tmsh: all commands internally return values in preparation for adding one-shot mode of operation
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 23:17:03 +0000
parents e7502631a0f9
children
comparison
equal deleted inserted replaced
68:585f63e5bca6 69:2159f260ed13
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include "pktmux.h" 10 #include "pktmux.h"
11 #include "etm.h" 11 #include "etm.h"
12 #include "tmffs1.h" 12 #include "tmffs1.h"
13 13
14 void
15 cmd_check_ffs1(argc, argv) 14 cmd_check_ffs1(argc, argv)
16 char **argv; 15 char **argv;
17 { 16 {
18 u_char cmdpkt[5]; 17 u_char cmdpkt[5];
19 18
20 cmdpkt[1] = ETM_FFS1; 19 cmdpkt[1] = ETM_FFS1;
21 cmdpkt[2] = FPI_TMFFS_VERSION; 20 cmdpkt[2] = FPI_TMFFS_VERSION;
22 cmdpkt[3] = FPI_END; 21 cmdpkt[3] = FPI_END;
23 send_etm_cmd(cmdpkt, 3); 22 send_etm_cmd(cmdpkt, 3);
23 return(0);
24 } 24 }