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
Hamlib-1.2.12
Stéphane Fillod, F8CFE 2010-08-23 21:37:06 +00:00
rodzic 7ebc81b859
commit fdf574d064
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -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;