forked from sdr/gr-osmosdr
style update to match surroundings
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
This commit is contained in:
parent
d4387f436d
commit
5dca656745
|
@ -146,8 +146,8 @@ hackrf_source_c::hackrf_source_c (const std::string &args)
|
|||
}
|
||||
|
||||
_dev = NULL;
|
||||
if (hackrf_serial)
|
||||
ret = hackrf_open_by_serial(hackrf_serial->c_str(), &_dev);
|
||||
if ( hackrf_serial )
|
||||
ret = hackrf_open_by_serial( hackrf_serial->c_str(), &_dev );
|
||||
else
|
||||
ret = hackrf_open( &_dev );
|
||||
HACKRF_THROW_ON_ERROR(ret, "Failed to open HackRF device")
|
||||
|
|
Loading…
Reference in New Issue