ump
This commit is contained in:
35
sci-electronics/labpowerqt/files/multichan.patch
Normal file
35
sci-electronics/labpowerqt/files/multichan.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
*** labpowerqt-0.1.3/src/koradscpi.cpp 2017-11-27 07:03:16.000000000 +0100
|
||||
--- labpowerqt-0.1.3/src/koradscpi.cpp 2021-06-27 14:54:56.000000000 +0200
|
||||
***************
|
||||
*** 326,339 ****
|
||||
for (int i = 1; i <= this->noOfChannels; i++) {
|
||||
com = std::make_shared<SerialCommand>(
|
||||
static_cast<int>(c), i, QVariant(), true,
|
||||
korcon::SERIALCOMMANDBUFLENGTH.at(c));
|
||||
}
|
||||
} else {
|
||||
com = std::make_shared<SerialCommand>(
|
||||
static_cast<int>(c), 1, QVariant(), true,
|
||||
korcon::SERIALCOMMANDBUFLENGTH.at(c));
|
||||
}
|
||||
- comVec.push_back(com);
|
||||
}
|
||||
return comVec;
|
||||
}
|
||||
--- 326,340 ----
|
||||
for (int i = 1; i <= this->noOfChannels; i++) {
|
||||
com = std::make_shared<SerialCommand>(
|
||||
static_cast<int>(c), i, QVariant(), true,
|
||||
korcon::SERIALCOMMANDBUFLENGTH.at(c));
|
||||
+ comVec.push_back(com);
|
||||
}
|
||||
} else {
|
||||
com = std::make_shared<SerialCommand>(
|
||||
static_cast<int>(c), 1, QVariant(), true,
|
||||
korcon::SERIALCOMMANDBUFLENGTH.at(c));
|
||||
+ comVec.push_back(com);
|
||||
}
|
||||
}
|
||||
return comVec;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user