Browse Source

unused var

master
Jeroen Vreeken 1 month ago
parent
commit
3af174ffd2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      freedv_eth_modem.c

+ 2
- 2
freedv_eth_modem.c View File

@ -28,6 +28,8 @@ static struct txbuffer *txq = NULL;
int freedv_eth_modem_init(char *modem_file, struct freedv *freedv)
{
modem_tx = false;
#if defined(FREEDV_MODE_6000)
int fd_modem = open(modem_file, O_RDWR);
if (fd_modem < 0) {
@ -40,8 +42,6 @@ int freedv_eth_modem_init(char *modem_file, struct freedv *freedv)
ioctl(fd_modem, TIOCMBIC, &(int){TIOCM_DTR});
ioctl(fd_modem, TIOCMBIC, &(int){TIOCM_RTS});
modem_tx = false;
nr_sym = freedv_get_n_modem_symbols(freedv);
rx_sym = realloc(rx_sym, nr_sym);


Loading…
Cancel
Save