mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-13 10:49:35 +01:00
hackrf_sweep: initialise sweep_rate
Thanks to dmaltsiniotis for spotting this.
This commit is contained in:
@@ -398,7 +398,7 @@ int main(int argc, char** argv) {
|
||||
struct timeval time_now;
|
||||
struct timeval time_prev;
|
||||
float time_diff;
|
||||
float sweep_rate;
|
||||
float sweep_rate = 0;
|
||||
unsigned int lna_gain=16, vga_gain=20;
|
||||
uint32_t freq_min = 0;
|
||||
uint32_t freq_max = 6000;
|
||||
|
||||
Reference in New Issue
Block a user