forked from sdr/gr-osmosdr
hackrf_source: adjust error message
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
This commit is contained in:
parent
e847176f3e
commit
254e1b1981
|
@ -155,7 +155,7 @@ hackrf_source_c::hackrf_source_c (const std::string &args)
|
||||||
dev_index = boost::lexical_cast< unsigned int >( hackrf_serial );
|
dev_index = boost::lexical_cast< unsigned int >( hackrf_serial );
|
||||||
} catch ( std::exception &ex ) {
|
} catch ( std::exception &ex ) {
|
||||||
throw std::runtime_error(
|
throw std::runtime_error(
|
||||||
"Failed to use '" + hackrf_serial + "' as HackRF device index: " + ex.what());
|
"Failed to use '" + hackrf_serial + "' as HackRF device index number: " + ex.what());
|
||||||
}
|
}
|
||||||
|
|
||||||
hackrf_device_list_t *list = hackrf_device_list();
|
hackrf_device_list_t *list = hackrf_device_list();
|
||||||
|
|
Loading…
Reference in New Issue