From: Alexandru C. <cs...@us...> - 2004-09-23 15:40:14
|
Update of /cvsroot/groundstation/grig2/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3436 Modified Files: rig-daemon.c Log Message: Changed powerstat sequence to set-and-get instead of get-and-set which could cause override of GUI command. Index: rig-daemon.c =================================================================== RCS file: /cvsroot/groundstation/grig2/src/rig-daemon.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** rig-daemon.c 5 Aug 2004 12:29:13 -0000 1.12 --- rig-daemon.c 23 Sep 2004 15:40:03 -0000 1.13 *************** *** 72,76 **** */ static const rig_cmd_t DEF_RX_CYCLE[C_MAX_CYCLES][C_MAX_CMD_PER_CYCLE] = { ! { RIG_CMD_GET_STRENGTH, RIG_CMD_SET_FREQ_1, RIG_CMD_GET_FREQ_1, RIG_CMD_GET_PSTAT, RIG_CMD_SET_PSTAT }, { RIG_CMD_GET_STRENGTH, RIG_CMD_SET_FREQ_2, RIG_CMD_GET_FREQ_2, RIG_CMD_SET_RIT, RIG_CMD_GET_RIT }, { RIG_CMD_GET_STRENGTH, RIG_CMD_SET_FREQ_1, RIG_CMD_GET_FREQ_1, RIG_CMD_SET_AGC, RIG_CMD_GET_AGC }, --- 72,76 ---- */ static const rig_cmd_t DEF_RX_CYCLE[C_MAX_CYCLES][C_MAX_CMD_PER_CYCLE] = { ! { RIG_CMD_GET_STRENGTH, RIG_CMD_SET_FREQ_1, RIG_CMD_GET_FREQ_1, RIG_CMD_SET_PSTAT, RIG_CMD_GET_PSTAT }, { RIG_CMD_GET_STRENGTH, RIG_CMD_SET_FREQ_2, RIG_CMD_GET_FREQ_2, RIG_CMD_SET_RIT, RIG_CMD_GET_RIT }, { RIG_CMD_GET_STRENGTH, RIG_CMD_SET_FREQ_1, RIG_CMD_GET_FREQ_1, RIG_CMD_SET_AGC, RIG_CMD_GET_AGC }, *************** *** 155,158 **** --- 155,162 ---- rigid = 1; rigport = g_strdup ("/dev/ttyS0"); + + /* rigid = 1901; */ + /* rigport = g_strdup ("localhost"); */ + speed = 0; } |