mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-05 04:17:58 +00:00
style: improve readability
This commit is contained in:

committed by
Carles Fernandez

parent
98f0b6bcb1
commit
1cab3d00bf
@@ -662,12 +662,9 @@ void hybrid_observables_gs::propagate_sensor_data(const std::vector<Gnss_Synchro
|
||||
{
|
||||
static pmt::pmt_t SAMPLE_STAMP_KEY = pmt::mp(SensorIdentifier::to_string(SensorIdentifier::SAMPLE_STAMP));
|
||||
uint64_t current_sample = 0;
|
||||
for (const Gnss_Synchro& item: data)
|
||||
for (const Gnss_Synchro &item : data)
|
||||
{
|
||||
if (item.Tracking_sample_counter > current_sample)
|
||||
{
|
||||
current_sample = item.Tracking_sample_counter;
|
||||
}
|
||||
current_sample = std::max(current_sample, item.Tracking_sample_counter);
|
||||
}
|
||||
|
||||
if (d_trq_last_sample == 0)
|
||||
|
Reference in New Issue
Block a user