]> sigrok.org Git - pulseview.git/commitdiff
SignalBase: Make sure PDs are restarted when conv options change
authorSoeren Apel <redacted>
Fri, 22 Sep 2017 16:25:06 +0000 (18:25 +0200)
committerSoeren Apel <redacted>
Fri, 22 Sep 2017 19:13:48 +0000 (21:13 +0200)
pv/data/signalbase.cpp

index 7859e9a814e3c758587f78b6b0916f9c4dd8c4fb..e500231b6e0404aeb75fbf5d603276e443bda1b5 100644 (file)
@@ -539,6 +539,7 @@ void SignalBase::start_conversion(bool delayed_start)
 
        if (converted_data_)
                converted_data_->clear();
+       samples_cleared();
 
        if (conversion_is_a2l()) {
                shared_ptr<Analog> analog_data = dynamic_pointer_cast<Analog>(data_);