1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-12 19:48:06 +00:00

fix(sensor_data): avoid tagging samples to far in the past

This commit is contained in:
Victor Castillo
2025-08-22 14:58:51 +02:00
committed by Carles Fernandez
parent a847240e59
commit 3452a4388b

View File

@@ -115,7 +115,7 @@ int SensorDataSource::work(int noutput_items,
pmt::pmt_t value = SensorIdentifier::convert_to_internal_type(sensor.identifier, sensor.type, raw_value);
data_tag = pmt::dict_add(data_tag, sensor.tag_key, value);
}
add_item_tag(0, sample_stamp, TAG_KEY, data_tag);
add_item_tag(0, nitems_written(0), TAG_KEY, data_tag);
}
}