From: Soeren Apel Date: Fri, 31 Jul 2020 22:03:13 +0000 (+0200) Subject: DecodeSignal: Fix typo X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2a12830ca3265a97ee13c53cdd809c404328ce8a;p=pulseview.git DecodeSignal: Fix typo --- diff --git a/pv/data/decodesignal.cpp b/pv/data/decodesignal.cpp index 6c193789..2c2c58e2 100644 --- a/pv/data/decodesignal.cpp +++ b/pv/data/decodesignal.cpp @@ -858,7 +858,7 @@ uint32_t DecodeSignal::get_input_segment_count() const return (no_signals_assigned ? 0 : count); } -uint32_t DecodeSignal::get_input_samplerate(uint32_t segment_id) const +double DecodeSignal::get_input_samplerate(uint32_t segment_id) const { double samplerate = 0; @@ -1128,7 +1128,6 @@ void DecodeSignal::logic_mux_proc() logic_mux_data_->push_segment(output_segment); output_segment->set_samplerate(get_input_samplerate(segment_id)); - } else { // All segments have been processed logic_mux_data_invalid_ = false; diff --git a/pv/data/decodesignal.hpp b/pv/data/decodesignal.hpp index 2a6d125f..3fa8317e 100644 --- a/pv/data/decodesignal.hpp +++ b/pv/data/decodesignal.hpp @@ -192,7 +192,7 @@ private: void set_error_message(QString msg); uint32_t get_input_segment_count() const; - uint32_t get_input_samplerate(uint32_t segment_id) const; + double get_input_samplerate(uint32_t segment_id) const; Decoder* get_decoder_by_instance(const srd_decoder *const srd_dec);