]> sigrok.org Git - pulseview.git/commitdiff
DecodeSignal: Fix typo
authorSoeren Apel <redacted>
Fri, 31 Jul 2020 22:03:13 +0000 (00:03 +0200)
committerSoeren Apel <redacted>
Fri, 31 Jul 2020 22:03:13 +0000 (00:03 +0200)
pv/data/decodesignal.cpp
pv/data/decodesignal.hpp

index 6c1937897d936e1adb971e8e85512e4bb742611f..2c2c58e202f724ec58b62de207e8325c7d508972 100644 (file)
@@ -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;
index 2a6d125f06024dd14494097f834a00d6f44bd8fc..3fa8317e77cae43e305e7f0101a8cc5048977e53 100644 (file)
@@ -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);