diff --git a/slsDetectorSoftware/src/Module.cpp b/slsDetectorSoftware/src/Module.cpp index 17fee9928..9339cd108 100644 --- a/slsDetectorSoftware/src/Module.cpp +++ b/slsDetectorSoftware/src/Module.cpp @@ -1391,9 +1391,7 @@ void Module::setBurstPeriod(int64_t value) { } std::array Module::getInjectChannel() { - std::array retvals{}; - sendToDetector(F_GET_INJECT_CHANNEL, nullptr, retvals); - return retvals; + return sendToDetector >(F_GET_INJECT_CHANNEL); } void Module::setInjectChannel(const int offsetChannel, @@ -2262,7 +2260,7 @@ void Module::programFPGA(std::vector buffer) { } } -void Module::resetFPGA() { return sendToDetector(F_RESET_FPGA); } +void Module::resetFPGA() { sendToDetector(F_RESET_FPGA); } void Module::copyDetectorServer(const std::string &fname, const std::string &hostname) {