1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

HackRF support: more sample rates

This commit is contained in:
f4exb 2017-01-30 23:50:17 +01:00
parent 0861f71ff3
commit 998ac33d59
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
#include "devicehackrfvalues.h" #include "devicehackrfvalues.h"
unsigned int HackRFSampleRates::m_rates_k[] = {2400, 3200, 4800, 5600, 6400, 8000, 9600, 12800, 19200}; unsigned int HackRFSampleRates::m_rates_k[] = {2400, 3200, 4000, 4800, 5600, 6000, 6400, 8000, 9600, 12000, 12800, 16000, 18000, 19200, 20000};
unsigned int HackRFSampleRates::getRate(unsigned int rate_index) unsigned int HackRFSampleRates::getRate(unsigned int rate_index)
{ {

View File

@ -21,7 +21,7 @@ class HackRFSampleRates {
public: 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);
static const unsigned int m_nb_rates = 9; static const unsigned int m_nb_rates = 15;
static unsigned int m_rates_k[m_nb_rates]; static unsigned int m_rates_k[m_nb_rates];
}; };