Minor fixes for FT-747GX simulator

pull/1243/head
Dhiru Kholia 2023-03-06 21:00:27 +05:30 zatwierdzone przez Dhiru Kholia
rodzic d06244c47f
commit 3d4fe8fead
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -1,12 +1,11 @@
// can run this using rigctl/rigctld and socat pty devices
// gcc -o simft897 simft897.c
// gcc -o simft747gx simft747gx.c
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include "../include/hamlib/rig.h"
#define BUFSIZE 256
@ -82,9 +81,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]);