Minor fixes #5

Merged
thomas merged 2 commits from rudi_s into main 2024-06-23 17:07:49 +02:00
Showing only changes of commit d54cd8a9a8 - Show all commits

View file

@ -126,8 +126,6 @@ void cb_rx(rx_evt_t evt, const struct layer1_rx_s *rx, uint8_t *packet_data, siz
} }
static int debug_fd;
static result_t transmit(sdr_ctx_t *sdr, const float complex *samples, size_t len) static result_t transmit(sdr_ctx_t *sdr, const float complex *samples, size_t len)
{ {
size_t to_transmit_rf = len * SDR_OVERSAMPLING; size_t to_transmit_rf = len * SDR_OVERSAMPLING;
@ -165,8 +163,6 @@ int main(int argc, char **argv)
bool on_air = true; bool on_air = true;
debug_fd = open("/tmp/dump.cf32", O_CREAT | O_WRONLY | O_TRUNC);
// ** Initialize ** // ** Initialize **
char devname[IFNAMSIZ] = "hamnet70"; char devname[IFNAMSIZ] = "hamnet70";
@ -368,8 +364,6 @@ int main(int argc, char **argv)
} }
} }
close(debug_fd);
// ** Cleanup ** // ** Cleanup **
layer1_tx_shutdown(&tx); layer1_tx_shutdown(&tx);