diff options
Diffstat (limited to 'usrp2/host')
-rw-r--r-- | usrp2/host/include/usrp2/tune_result.h | 11 |
1 files changed, 6 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>. */ -#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 */ |