diff --git a/host/hackrf-tools/src/hackrf_sweep.c b/host/hackrf-tools/src/hackrf_sweep.c index cc71059c..399799b9 100644 --- a/host/hackrf-tools/src/hackrf_sweep.c +++ b/host/hackrf-tools/src/hackrf_sweep.c @@ -201,7 +201,8 @@ int rx_callback(hackrf_transfer* transfer) { * write output to pipe */ int8_t* buf; - float frequency; + uint16_t frequency; + float float_freq; int i, j; if( fd != NULL ) { @@ -210,6 +211,13 @@ int rx_callback(hackrf_transfer* transfer) { for(j=0; j