diff --git a/devices/hackrf/devicehackrfvalues.cpp b/devices/hackrf/devicehackrfvalues.cpp index c09fa2d0a..4c770c5c7 100644 --- a/devices/hackrf/devicehackrfvalues.cpp +++ b/devices/hackrf/devicehackrfvalues.cpp @@ -16,7 +16,7 @@ #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) { diff --git a/devices/hackrf/devicehackrfvalues.h b/devices/hackrf/devicehackrfvalues.h index 44310a4d2..613605170 100644 --- a/devices/hackrf/devicehackrfvalues.h +++ b/devices/hackrf/devicehackrfvalues.h @@ -21,7 +21,7 @@ class HackRFSampleRates { public: static unsigned int getRate(unsigned int rate_index); 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]; };