From: Joel Holdsworth Date: Sun, 4 Oct 2015 23:24:03 +0000 (-0600) Subject: AnalogSignal: Removed set_scale X-Git-Tag: pulseview-0.3.0~100 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8eeb4256ba338a0be0f5311cdc2b98acf4370577;p=pulseview.git AnalogSignal: Removed set_scale Nothing uses it now --- diff --git a/pv/view/analogsignal.cpp b/pv/view/analogsignal.cpp index 8e541dac..efde2941 100644 --- a/pv/view/analogsignal.cpp +++ b/pv/view/analogsignal.cpp @@ -77,11 +77,6 @@ shared_ptr AnalogSignal::analog_data() const return data_; } -void AnalogSignal::set_scale(float scale) -{ - scale_ = scale; -} - std::pair AnalogSignal::v_extents() const { return make_pair(-NominalHeight / 2, NominalHeight / 2); diff --git a/pv/view/analogsignal.hpp b/pv/view/analogsignal.hpp index 4f737aaa..72ff23b3 100644 --- a/pv/view/analogsignal.hpp +++ b/pv/view/analogsignal.hpp @@ -53,8 +53,6 @@ public: std::shared_ptr analog_data() const; - void set_scale(float scale); - /** * Computes the vertical extents of the contents of this row item. * @return A pair containing the minimum and maximum y-values.