1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00
This commit is contained in:
Carles Fernandez 2019-07-19 23:26:26 +02:00
parent 739c008f49
commit 0e583f5c39
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -228,6 +228,7 @@ void ControlThread::event_dispatcher(bool &valid_event, pmt::pmt_t &msg)
{
if (valid_event)
{
processed_control_messages_++;
if (pmt::any_ref(msg).type() == typeid(channel_event_sptr))
{
channel_event_sptr new_event;
@ -834,18 +835,17 @@ void ControlThread::apply_action(unsigned int what)
{
std::shared_ptr<PvtInterface> pvt_ptr;
std::vector<std::pair<int, Gnss_Satellite>> visible_satellites;
applied_actions_++;
switch (what)
{
case 0:
LOG(INFO) << "Received action STOP";
stop_ = true;
applied_actions_++;
break;
case 1:
LOG(INFO) << "Received action RESTART";
stop_ = true;
restart_ = true;
applied_actions_++;
break;
case 11:
LOG(INFO) << "Receiver action COLDSTART";