From 4256cde50ae0f3c52f415f45e9cc6274f51c6ce2 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 20 Aug 2009 17:17:56 -0700 Subject: use enum for band select --- gr-vrt/src/vrt_quadradio_source_32fc.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gr-vrt/src/vrt_quadradio_source_32fc.cc') diff --git a/gr-vrt/src/vrt_quadradio_source_32fc.cc b/gr-vrt/src/vrt_quadradio_source_32fc.cc index 77e61cf04..3769f9124 100644 --- a/gr-vrt/src/vrt_quadradio_source_32fc.cc +++ b/gr-vrt/src/vrt_quadradio_source_32fc.cc @@ -86,15 +86,15 @@ vrt_quadradio_source_32fc::set_center_freq(double target_freq) } bool -vrt_quadradio_source_32fc::set_band_select(const std::string &band) +vrt_quadradio_source_32fc::set_band_select(int band) { - return d_qr->set_band_select(band); + return d_qr->set_band_select(static_cast(band)); } -std::string +int vrt_quadradio_source_32fc::get_band_select(void) { - return d_qr->get_band_select(); + return static_cast(d_qr->get_band_select()); } //void -- cgit