diff --git a/impl/src/main.c b/impl/src/main.c index 16fd6e3..69ca695 100644 --- a/impl/src/main.c +++ b/impl/src/main.c @@ -175,7 +175,7 @@ int main(void) SoapySDR_setLogLevel(SOAPY_SDR_DEBUG); - bool on_air = false; + bool on_air = true; debug_fd = open("/tmp/dump.cf32", O_CREAT | O_WRONLY | O_TRUNC); @@ -201,7 +201,8 @@ int main(void) pfd.fd = m_tunfd; pfd.events = POLLIN; - RESULT_CHECK(sdr_start_rx(&sdr)); + // start in TX mode to work around SoapyHackRF not setting the correct frequency. + RESULT_CHECK(sdr_start_tx(&sdr, 1)); unsigned rx_retries = 0;