From 72c625f7e50b65dc3b642112762e9eb1d633bd42 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Wed, 24 Dec 2008 08:10:48 +0000 Subject: Merged r10071:10164 from features/cppdb-test into trunk. Implements the fully native C++ API for the USRP. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10165 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp2/host/include/usrp2/tune_result.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'usrp2') diff --git a/usrp2/host/include/usrp2/tune_result.h b/usrp2/host/include/usrp2/tune_result.h index 6fb2a6824..9075596f4 100644 --- a/usrp2/host/include/usrp2/tune_result.h +++ b/usrp2/host/include/usrp2/tune_result.h @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef INCLUDED_TUNE_RESULT_H -#define INCLUDED_TUNE_RESULT_H +#ifndef INCLUDED_USRP2_TUNE_RESULT_H +#define INCLUDED_USRP2_TUNE_RESULT_H namespace usrp2 { @@ -36,10 +36,11 @@ namespace usrp2 { // is the spectrum inverted? bool spectrum_inverted; - tune_result() - : baseband_freq(0), dxc_freq(0), residual_freq(0), spectrum_inverted(false) {} + tune_result(double baseband=0, double dxc=0, double residual=0, bool inverted=false) + : baseband_freq(baseband), dxc_freq(dxc), + residual_freq(residual), spectrum_inverted(inverted) {} }; } // namespace usrp2 -#endif /* INCLUDED_TUNE_RESULT_H */ +#endif /* INCLUDED_USRP2_TUNE_RESULT_H */ -- cgit