mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
HackRF support: more sample rates
This commit is contained in:
parent
0861f71ff3
commit
998ac33d59
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user