From fdf574d0642a3a3d3d01ed288dfe982c221868d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Mon, 23 Aug 2010 21:37:06 +0000 Subject: [PATCH] Patch from fc13, to let build with newer usrp releases git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2963 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kit/usrp_impl.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kit/usrp_impl.cc b/kit/usrp_impl.cc index afafa2182..d619db355 100644 --- a/kit/usrp_impl.cc +++ b/kit/usrp_impl.cc @@ -1,8 +1,7 @@ /* * Hamlib KIT backend - Universal Software Radio Peripheral - * Copyright (c) 2005 by Stephane Fillod + * Copyright (c) 2010 by Stephane Fillod * - * $Id: usrp_impl.cc,v 1.1 2005-11-01 23:12:11 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as @@ -82,7 +81,7 @@ int usrp_open(RIG *rig) int which_board = 0; int decim = 125; - priv->urx = usrp_standard_rx::make (which_board, decim, 1, -1, usrp_standard_rx::FPGA_MODE_NORMAL); + priv->urx = usrp_standard_rx::make (which_board, decim, 1, -1, usrp_standard_rx::FPGA_MODE_NORMAL).get(); if (priv->urx == 0) return -RIG_EIO;