Skip to content

Commit

Permalink
Merge pull request #204 from anarkiwi/timeprec
Browse files Browse the repository at this point in the history
rx_time lost precision.
  • Loading branch information
anarkiwi authored Feb 5, 2024
2 parents 7bbd5c5 + 12c2911 commit ff5bc84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/retune_fft_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void retune_fft_impl::sum_items_(const input_type *in) {
}
}

void retune_fft_impl::add_output_tags_(uint64_t rx_time, double rx_freq,
void retune_fft_impl::add_output_tags_(double rx_time, double rx_freq,
size_t rel) {
std::stringstream str;
str << name() << unique_id();
Expand Down
2 changes: 1 addition & 1 deletion lib/retune_fft_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class retune_fft_impl : public retune_fft, base_impl, retuner_impl {
void sum_items_(const input_type *in);
void reset_items_();
void calc_peaks_();
void add_output_tags_(uint64_t rx_time, double rx_freq, size_t produced);
void add_output_tags_(double rx_time, double rx_freq, size_t produced);
void process_items_(size_t c, const input_type *&in,
const input_type *&fft_output, size_t &produced);
void output_buckets_(const std::string &name,
Expand Down
2 changes: 1 addition & 1 deletion lib/retune_pre_fft_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void retune_pre_fft_impl::retune_now_() {
}
}

void retune_pre_fft_impl::add_output_tags_(uint64_t rx_time, double rx_freq,
void retune_pre_fft_impl::add_output_tags_(double rx_time, double rx_freq,
size_t rel) {
std::stringstream str;
str << name() << unique_id();
Expand Down
2 changes: 1 addition & 1 deletion lib/retune_pre_fft_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class retune_pre_fft_impl : public retune_pre_fft, base_impl, retuner_impl {
bool all_zeros_(const block_type *&in);
void process_items_(size_t c, const block_type *&in, const block_type *&out,
size_t &produced);
void add_output_tags_(uint64_t rx_time, double rx_freq, size_t rel);
void add_output_tags_(double rx_time, double rx_freq, size_t rel);

size_t nfft_;
size_t fft_batch_size_;
Expand Down

0 comments on commit ff5bc84

Please sign in to comment.