kopia lustrzana https://github.com/Hamlib/Hamlib
reflect changes of caps->rig_type
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@617 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
89f948a067
commit
f4edf08f61
|
@ -3,7 +3,7 @@
|
|||
* This programs dumps the capabilities of a backend rig.
|
||||
*
|
||||
*
|
||||
* $Id: dumpcaps.c,v 1.27 2001-07-01 11:46:17 f4cfe Exp $
|
||||
* $Id: dumpcaps.c,v 1.28 2001-08-08 06:08:33 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -106,7 +106,7 @@ int main (int argc, char *argv[])
|
|||
backend_warnings++;
|
||||
}
|
||||
printf("Rig type:\t");
|
||||
switch (caps->rig_type) {
|
||||
switch (caps->rig_type & RIG_TYPE_MASK) {
|
||||
case RIG_TYPE_TRANSCEIVER:
|
||||
printf("Transceiver\n");
|
||||
break;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This programs list all the available the rig capabilities.
|
||||
*
|
||||
*
|
||||
* $Id: listrigs.c,v 1.9 2001-06-04 21:17:53 f4cfe Exp $
|
||||
* $Id: listrigs.c,v 1.10 2001-08-08 06:08:33 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -58,7 +58,7 @@ int print_caps_sum(const struct rig_caps *caps, void *data)
|
|||
default:
|
||||
printf("Unknown\t");
|
||||
}
|
||||
switch (caps->rig_type) {
|
||||
switch (caps->rig_type & RIG_TYPE_MASK) {
|
||||
case RIG_TYPE_TRANSCEIVER:
|
||||
printf("Transceiver\n");
|
||||
break;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* The code is rather ugly since this is only a try out.
|
||||
*
|
||||
*
|
||||
* $Id: rigmatrix.c,v 1.14 2001-07-01 11:46:17 f4cfe Exp $
|
||||
* $Id: rigmatrix.c,v 1.15 2001-08-08 06:08:33 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -69,7 +69,7 @@ int print_caps_sum(const struct rig_caps *caps, void *data)
|
|||
}
|
||||
printf("</TD><TD>");
|
||||
|
||||
switch (caps->rig_type) {
|
||||
switch (caps->rig_type & RIG_TYPE_MASK) {
|
||||
case RIG_TYPE_TRANSCEIVER:
|
||||
printf("Transceiver");
|
||||
break;
|
||||
|
|
Ładowanie…
Reference in New Issue