mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-13 22:36:21 -05:00
57d8bb4fd9
using rigctl in a separate process. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3170 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
27 lines
539 B
C
27 lines
539 B
C
#include "config.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include "tstrig.h"
|
|
|
|
int set_conf(RIG *my_rig, char *conf_parms);
|
|
|
|
int rig_control(rig_model_t my_model, int verbose);
|
|
|
|
int main (int argc, char *argv[])
|
|
{
|
|
rig_model_t my_model = RIG_MODEL_DUMMY;
|
|
int verbose=0;
|
|
|
|
my_model=214;
|
|
rig_control(my_model,verbose);
|
|
return 0;
|
|
}
|
|
|
|
/*
|
|
gcc -c -Wall -I../include rig_control.c
|
|
gcc -c -Wall -I../include tstrig.c
|
|
gcc -o tstrig.exe -Wl,--enable-auto-import tstrig.o rig_control.o libhamlib.dll.a
|
|
strip tstrig.exe
|
|
*/
|