mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-19 08:14:55 +00:00
Small fix
This commit is contained in:
parent
937238b0a6
commit
9f70940114
@ -32,6 +32,7 @@
|
|||||||
#define FRONT_END_CAL_VERSION "0.0.1"
|
#define FRONT_END_CAL_VERSION "0.0.1"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@ -372,13 +373,14 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
gr::block_sptr source;
|
gr::block_sptr source;
|
||||||
source = gr::blocks::file_source::make(sizeof(gr_complex), "tmp_capture.dat");
|
source = gr::blocks::file_source::make(sizeof(gr_complex), "tmp_capture.dat");
|
||||||
|
boost::shared_ptr<FrontEndCal_msg_rx> msg_rx;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
boost::shared_ptr<FrontEndCal_msg_rx> msg_rx = FrontEndCal_msg_rx_make();
|
msg_rx = FrontEndCal_msg_rx_make();
|
||||||
}
|
}
|
||||||
catch(const std::exception & e)
|
catch(const std::exception & e)
|
||||||
{
|
{
|
||||||
std::cout << "Failure connecting the message port system: " << e.what() << std::endl;
|
std::cout << "Failure connecting the message port system: " << e.what() << std::endl; exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
//gr_basic_block_sptr head = gr_make_head(sizeof(gr_complex), nsamples);
|
//gr_basic_block_sptr head = gr_make_head(sizeof(gr_complex), nsamples);
|
||||||
|
Loading…
Reference in New Issue
Block a user