>From 003be62058191e13489d1203b9760ed577aa2d35 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Stefan=20Br=C3=BCns?= Date: Thu, 10 Dec 2009 17:11:38 +0100 Subject: [PATCH] respect gain option --- gr-usrp/apps/usrp_rx_cfile.cc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gr-usrp/apps/usrp_rx_cfile.cc b/gr-usrp/apps/usrp_rx_cfile.cc index e9ced6d..ac39303 100644 --- a/gr-usrp/apps/usrp_rx_cfile.cc +++ b/gr-usrp/apps/usrp_rx_cfile.cc @@ -242,6 +242,9 @@ int main(int argc, char *argv[]) if(vm.count("output-shorts")) { output_shorts = true; } + if(vm.count("gain")) { + gain = vm["gain"].as(); + } std::cout << "which: " << which << std::endl; std::cout << "decim: " << decim << std::endl; -- 1.5.6