Extend frequency array to allow 6GHz sweeping

This commit is contained in:
Dominic Spill
2016-09-15 08:34:07 -06:00
committed by Mike Walters
parent f7cd712ff9
commit 6463479888
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#define FREQ_GRANULARITY 1000000 #define FREQ_GRANULARITY 1000000
#define MIN_FREQ 1 #define MIN_FREQ 1
#define MAX_FREQ 6000 #define MAX_FREQ 6000
#define MAX_FREQ_COUNT 500 #define MAX_FREQ_COUNT 1000
volatile bool start_sweep_mode = false; volatile bool start_sweep_mode = false;
static uint64_t sweep_freq; static uint64_t sweep_freq;

View File

@ -92,7 +92,7 @@ int gettimeofday(struct timeval *tv, void* ignored) {
#define DEFAULT_BASEBAND_FILTER_BANDWIDTH (15000000) /* 5MHz default */ #define DEFAULT_BASEBAND_FILTER_BANDWIDTH (15000000) /* 5MHz default */
#define FREQ_STEP (DEFAULT_SAMPLE_RATE_HZ / FREQ_ONE_MHZ) #define FREQ_STEP (DEFAULT_SAMPLE_RATE_HZ / FREQ_ONE_MHZ)
#define MAX_FREQ_COUNT 500 #define MAX_FREQ_COUNT 1000
#if defined _WIN32 #if defined _WIN32
#define sleep(a) Sleep( (a*1000) ) #define sleep(a) Sleep( (a*1000) )