mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 04:00:34 +00:00
Fix uncaught exception
This commit is contained in:
parent
ed041c00b8
commit
937238b0a6
@ -372,8 +372,14 @@ int main(int argc, char** argv)
|
||||
|
||||
gr::block_sptr source;
|
||||
source = gr::blocks::file_source::make(sizeof(gr_complex), "tmp_capture.dat");
|
||||
|
||||
boost::shared_ptr<FrontEndCal_msg_rx> msg_rx = FrontEndCal_msg_rx_make();
|
||||
try
|
||||
{
|
||||
boost::shared_ptr<FrontEndCal_msg_rx> msg_rx = FrontEndCal_msg_rx_make();
|
||||
}
|
||||
catch(const std::exception & e)
|
||||
{
|
||||
std::cout << "Failure connecting the message port system: " << e.what() << std::endl;
|
||||
}
|
||||
|
||||
//gr_basic_block_sptr head = gr_make_head(sizeof(gr_complex), nsamples);
|
||||
//gr_head_sptr head_sptr = boost::dynamic_pointer_cast<gr_head>(head);
|
||||
|
Loading…
Reference in New Issue
Block a user