mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-06-25 22:52:52 +00:00
Apply code formatting
This commit is contained in:
parent
759f4cadac
commit
2482f14bd8
@ -1471,13 +1471,13 @@ void GNSSFlowgraph::perform_hw_reset()
|
|||||||
// a stop acquisition command causes the SW to reset the HW
|
// a stop acquisition command causes the SW to reset the HW
|
||||||
std::shared_ptr<Channel> channel_ptr;
|
std::shared_ptr<Channel> channel_ptr;
|
||||||
|
|
||||||
for (uint32_t i=0; i< channels_count_;i++)
|
for (uint32_t i = 0; i < channels_count_; i++)
|
||||||
{
|
{
|
||||||
channel_ptr = std::dynamic_pointer_cast<Channel>(channels_.at(i));
|
channel_ptr = std::dynamic_pointer_cast<Channel>(channels_.at(i));
|
||||||
channel_ptr->tracking()->stop_tracking();
|
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<Channel>(channels_.at(0));
|
channel_ptr = std::dynamic_pointer_cast<Channel>(channels_.at(0));
|
||||||
channel_ptr->acquisition()->stop_acquisition();
|
channel_ptr->acquisition()->stop_acquisition();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user