added sat-on and sat_off to test

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@22 7ae35d74-ebe9-4afe-98af-79ac388436b8
This commit is contained in:
Frank Singleton, VK3FCS 2000-07-26 00:09:29 +00:00
parent 5a7458b7d9
commit 6287f120b4

View File

@ -5,7 +5,7 @@
* via serial interface to an FT-847 using the "CAT" interface.
*
*
* $Id: testlibft847.c,v 1.2 2000-07-25 22:55:57 javabear Exp $
* $Id: testlibft847.c,v 1.3 2000-07-26 00:09:29 javabear Exp $
*
*/
@ -144,10 +144,17 @@ static void dump_hex(unsigned char *ptr, int size, int length) {
*/
static int test(fd) {
unsigned char data1;
cmd_cat_on(fd);
cmd_cat_off(fd); /* cat off */
sleep(1);
cmd_cat_off(fd);
cmd_cat_on(fd); /* cat on */
sleep(1);
cmd_sat_on(fd); /* sat mode on */
sleep(1);
cmd_sat_off(fd); /* sat mode off */
sleep(1);
cmd_cat_off(fd); /* cat off */
return 0;
}