git-svn-id: svn://db.shs.com.ru/pip@195 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -324,6 +324,7 @@ PIIODevice * PIConnection::addDevice(const PIString & full_path, PIIODevice::Dev
|
||||
__device_pool__->lock();
|
||||
if (diags_.value(dev, 0) == 0) {
|
||||
PIDiagnostics * d = new PIDiagnostics(false);
|
||||
d->setInterval(10.);
|
||||
diags_[dev] = d;
|
||||
CONNECTU(d, qualityChanged, this, diagQualityChanged);
|
||||
}
|
||||
@@ -449,6 +450,7 @@ PIPacketExtractor * PIConnection::addFilter(const PIString & name_, const PIStri
|
||||
__device_pool__->lock();
|
||||
if (diags_.value(e->extractor, 0) == 0) {
|
||||
PIDiagnostics * d = new PIDiagnostics(false);
|
||||
d->setInterval(10.);
|
||||
diags_[e->extractor] = d;
|
||||
CONNECTU(d, qualityChanged, this, diagQualityChanged);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user