kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
e1e7112cb5
commit
f00661a8ae
|
@ -87,18 +87,18 @@ enum ft600_native_cmd_e
|
|||
*/
|
||||
typedef struct
|
||||
{
|
||||
unsigned char band_no;
|
||||
// unsigned char band_no;
|
||||
unsigned char freq[16];
|
||||
unsigned char mode;
|
||||
unsigned char ctcss;
|
||||
unsigned char dcs;
|
||||
unsigned char flag1;
|
||||
unsigned char flag2;
|
||||
unsigned char clarifier[2];
|
||||
unsigned char not_used;
|
||||
unsigned char step1;
|
||||
unsigned char step2;
|
||||
unsigned char filter;
|
||||
// unsigned char mode;
|
||||
// unsigned char ctcss;
|
||||
// unsigned char dcs;
|
||||
// unsigned char flag1;
|
||||
// unsigned char flag2;
|
||||
// unsigned char clarifier[2];
|
||||
// unsigned char not_used;
|
||||
// unsigned char step1;
|
||||
// unsigned char step2;
|
||||
// unsigned char filter;
|
||||
|
||||
// cppcheck-suppress *
|
||||
unsigned char stuffing[16];
|
||||
|
|
|
@ -98,9 +98,9 @@ typedef struct satel_stat satel_stat_t;
|
|||
struct satel_stat
|
||||
{
|
||||
bool motion_enabled;
|
||||
int mode;
|
||||
time_t time;
|
||||
int absolute;
|
||||
// int mode;
|
||||
// time_t time;
|
||||
// int absolute;
|
||||
int az;
|
||||
int el;
|
||||
};
|
||||
|
|
|
@ -88,9 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
unsigned char buf[256];
|
||||
unsigned char *pbuf;
|
||||
int n;
|
||||
|
||||
|
||||
again:
|
||||
int fd = openPort(argv[1]);
|
||||
|
|
|
@ -88,7 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
unsigned char buf[256];
|
||||
unsigned char *pbuf;
|
||||
int n;
|
||||
|
||||
|
||||
|
|
|
@ -88,7 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
unsigned char buf[256];
|
||||
unsigned char *pbuf;
|
||||
int n;
|
||||
|
||||
|
||||
|
|
|
@ -88,7 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
unsigned char buf[256];
|
||||
unsigned char *pbuf;
|
||||
int n;
|
||||
|
||||
|
||||
|
|
|
@ -145,8 +145,6 @@ int openPort(char *comport) // doesn't matter for using pts devices
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
char buf[256];
|
||||
char *pbuf;
|
||||
int n;
|
||||
int fd = openPort(argv[1]);
|
||||
|
||||
load_dat("simft990.dat", alldata);
|
||||
|
|
|
@ -71,7 +71,7 @@ void dumphex(unsigned char *buf, int n)
|
|||
int
|
||||
frameGet(int fd, unsigned char *buf)
|
||||
{
|
||||
int i = 0, n;
|
||||
int i = 0;
|
||||
memset(buf, 0, BUFSIZE);
|
||||
unsigned char c;
|
||||
|
||||
|
|
|
@ -88,9 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
unsigned char buf[256];
|
||||
unsigned char *pbuf;
|
||||
int n;
|
||||
|
||||
|
||||
again:
|
||||
int fd = openPort(argv[1]);
|
||||
|
|
|
@ -295,8 +295,6 @@ int cm108_ptt_get(hamlib_port_t *p, ptt_t *pttx)
|
|||
*/
|
||||
int cm108_dcd_get(hamlib_port_t *p, dcd_t *dcdx)
|
||||
{
|
||||
int bytes;
|
||||
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||
|
||||
return RIG_OK;
|
||||
|
|
Ładowanie…
Reference in New Issue