1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00

One more sample rate for BladeRF

This commit is contained in:
f4exb 2015-10-06 05:37:17 +02:00
parent 821e4e9ec8
commit 9b0d92b35b
2 changed files with 3 additions and 3 deletions

View File

@ -351,8 +351,8 @@ unsigned int BladerfGui::getXb200Index(bool xb_200, bladerf_xb200_path xb200Path
} }
} }
unsigned int BladerfSampleRates::m_rates[] = {1536, 2304, 2400, 3072, 3200, 4608, 4800, 6144, 7680, 9216, 9600, 10752, 12288, 18432, 19200, 24576, 30720, 36864, 39936}; unsigned int BladerfSampleRates::m_rates[] = {1536, 1600, 2304, 2400, 3072, 3200, 4608, 4800, 6144, 7680, 9216, 9600, 10752, 12288, 18432, 19200, 24576, 30720, 36864, 39936};
unsigned int BladerfSampleRates::m_nb_rates = 19; unsigned int BladerfSampleRates::m_nb_rates = 20;
unsigned int BladerfSampleRates::getRate(unsigned int rate_index) unsigned int BladerfSampleRates::getRate(unsigned int rate_index)
{ {

View File

@ -80,7 +80,7 @@ public:
static unsigned int getRate(unsigned int rate_index); static unsigned int getRate(unsigned int rate_index);
static unsigned int getRateIndex(unsigned int rate); static unsigned int getRateIndex(unsigned int rate);
private: private:
static unsigned int m_rates[19]; static unsigned int m_rates[20];
static unsigned int m_nb_rates; static unsigned int m_nb_rates;
}; };