This commit is contained in:
Erik Frojdh
2020-07-23 14:01:13 +02:00
parent 1fb19aeae2
commit 3ddb264875

View File

@ -1391,9 +1391,7 @@ void Module::setBurstPeriod(int64_t value) {
} }
std::array<int, 2> Module::getInjectChannel() { std::array<int, 2> Module::getInjectChannel() {
std::array<int, 2> retvals{}; return sendToDetector<std::array<int, 2> >(F_GET_INJECT_CHANNEL);
sendToDetector(F_GET_INJECT_CHANNEL, nullptr, retvals);
return retvals;
} }
void Module::setInjectChannel(const int offsetChannel, void Module::setInjectChannel(const int offsetChannel,
@ -2262,7 +2260,7 @@ void Module::programFPGA(std::vector<char> buffer) {
} }
} }
void Module::resetFPGA() { return sendToDetector(F_RESET_FPGA); } void Module::resetFPGA() { sendToDetector(F_RESET_FPGA); }
void Module::copyDetectorServer(const std::string &fname, void Module::copyDetectorServer(const std::string &fname,
const std::string &hostname) { const std::string &hostname) {