From 2482f14bd8d58ce62fe123b1472f361241c588d9 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 30 Jul 2019 07:40:23 +0200 Subject: [PATCH] Apply code formatting --- src/core/receiver/gnss_flowgraph.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/core/receiver/gnss_flowgraph.cc b/src/core/receiver/gnss_flowgraph.cc index 7e2158dfc..060adfb5d 100644 --- a/src/core/receiver/gnss_flowgraph.cc +++ b/src/core/receiver/gnss_flowgraph.cc @@ -1468,19 +1468,19 @@ void GNSSFlowgraph::start_acquisition_helper() void GNSSFlowgraph::perform_hw_reset() { - // a stop acquisition command causes the SW to reset the HW - std::shared_ptr channel_ptr; + // a stop acquisition command causes the SW to reset the HW + std::shared_ptr channel_ptr; - for (uint32_t i=0; i< channels_count_;i++) - { - channel_ptr = std::dynamic_pointer_cast(channels_.at(i)); - channel_ptr->tracking()->stop_tracking(); - } + for (uint32_t i = 0; i < channels_count_; i++) + { + channel_ptr = std::dynamic_pointer_cast(channels_.at(i)); + channel_ptr->tracking()->stop_tracking(); + } - std::this_thread::sleep_for (std::chrono::milliseconds(500)); + std::this_thread::sleep_for(std::chrono::milliseconds(500)); - channel_ptr = std::dynamic_pointer_cast(channels_.at(0)); - channel_ptr->acquisition()->stop_acquisition(); + channel_ptr = std::dynamic_pointer_cast(channels_.at(0)); + channel_ptr->acquisition()->stop_acquisition(); } #endif