This commit is contained in:
2020-06-04 12:12:40 +02:00
parent 3bdc8e95ce
commit 9a8300ca08
7 changed files with 778 additions and 359 deletions

View File

@ -2201,11 +2201,14 @@ int Module::getExternalSamplingSource() {
return setExternalSamplingSource(-1);
}
int Module::setExternalSampling(int value) {
return sendToDetector<int>(F_EXTERNAL_SAMPLING, value);
void Module::setExternalSampling(bool value) {
sendToDetector<int>(F_EXTERNAL_SAMPLING, static_cast<int>(value));
}
int Module::getExternalSampling() { return setExternalSampling(-1); }
bool Module::getExternalSampling() {
int arg = -1;
return sendToDetector<int>(F_EXTERNAL_SAMPLING, arg);
}
void Module::setReceiverDbitList(const std::vector<int> &list) {
LOG(logDEBUG1) << "Setting Receiver Dbit List";