From 9b0d92b35b1742c5dd2058a97ef774c52002d805 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 6 Oct 2015 05:37:17 +0200 Subject: [PATCH] One more sample rate for BladeRF --- plugins/samplesource/bladerf/bladerfgui.cpp | 4 ++-- plugins/samplesource/bladerf/bladerfgui.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/samplesource/bladerf/bladerfgui.cpp b/plugins/samplesource/bladerf/bladerfgui.cpp index 8a62fbd08..17baf0cab 100644 --- a/plugins/samplesource/bladerf/bladerfgui.cpp +++ b/plugins/samplesource/bladerf/bladerfgui.cpp @@ -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_nb_rates = 19; +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 = 20; unsigned int BladerfSampleRates::getRate(unsigned int rate_index) { diff --git a/plugins/samplesource/bladerf/bladerfgui.h b/plugins/samplesource/bladerf/bladerfgui.h index 90d45ba55..b3d0aa9d5 100644 --- a/plugins/samplesource/bladerf/bladerfgui.h +++ b/plugins/samplesource/bladerf/bladerfgui.h @@ -80,7 +80,7 @@ public: static unsigned int getRate(unsigned int rate_index); static unsigned int getRateIndex(unsigned int rate); private: - static unsigned int m_rates[19]; + static unsigned int m_rates[20]; static unsigned int m_nb_rates; };