File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ void radio_uhd_tx_stream::transmit(const baseband_gateway_buffer_reader&
254254 return ;
255255 }
256256
257- power_ramping_metadata.time_spec += txd_samples * srate_hz;
257+ power_ramping_metadata.time_spec += uhd::time_spec_t::from_ticks ( txd_samples, srate_hz) ;
258258 txd_padding_sps_total += txd_samples;
259259
260260 } while (txd_padding_sps_total < nof_padding_samples);
@@ -295,7 +295,7 @@ void radio_uhd_tx_stream::transmit(const baseband_gateway_buffer_reader&
295295 }
296296
297297 // Increment timespec.
298- uhd_metadata.time_spec += txd_samples * srate_hz;
298+ uhd_metadata.time_spec += uhd::time_spec_t::from_ticks ( txd_samples, srate_hz) ;
299299
300300 // Increment the total amount of received samples.
301301 txd_samples_total += txd_samples;
You can’t perform that action at this time.
0 commit comments