git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@63 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.0.1
Frank Singleton, VK3FCS 2000-07-30 05:04:04 +00:00
rodzic a61e7e1dcd
commit fa7fd393fb
2 zmienionych plików z 7 dodań i 6 usunięć

Wyświetl plik

@ -6,7 +6,7 @@
* box (FIF-232C) or similar.
*
*
* $Id: testlibft747.c,v 1.5 2000-07-30 04:05:35 javabear Exp $
* $Id: testlibft747.c,v 1.6 2000-07-30 05:04:04 javabear Exp $
*
*/
@ -147,7 +147,6 @@ static void decode_band_data(unsigned char data) {
*/
static int test(fd) {
int i;
struct ft747_update_data *header;
cmd_set_split_yes(fd);

Wyświetl plik

@ -5,7 +5,7 @@
* via serial interface to an FT-847 using the "CAT" interface.
*
*
* $Id: testlibft847.c,v 1.9 2000-07-30 02:02:15 javabear Exp $
* $Id: testlibft847.c,v 1.10 2000-07-30 05:03:11 javabear Exp $
*
*/
@ -141,14 +141,16 @@ static int test(fd) {
sleep(1);
data1 = cmd_get_rx_status(fd);
printf("data1 = %i \n", data1);
decode_rx_status_flags(data1);
/* decode_rx_status_flags(data1); */
sleep(1);
for (i=0; i<4; i++) {
/* data1 = cmd_get_rx_status(fd); */
/* decode_rx_status_flags(data1); */
/* sleep(1); */
data1 = cmd_get_rx_status(fd);
decode_rx_status_flags(data1);
sleep(1);
frq = cmd_get_freq_mode_status_main_vfo(fd, &mode);
printf("freq = %ld Hz and mode = %x \n",frq, mode );