programfpga already does reboot

This commit is contained in:
maliakal_d 2021-11-10 11:49:32 +01:00
parent 233d374a4d
commit 0e9c88dfa2

View File

@ -2190,7 +2190,6 @@ void Detector::updateFirmwareAndServer(const std::string &sname,
LOG(logINFO) << "Updating Firmware and Detector Server..."; LOG(logINFO) << "Updating Firmware and Detector Server...";
pimpl->Parallel(&Module::copyDetectorServer, pos, sname, hostname); pimpl->Parallel(&Module::copyDetectorServer, pos, sname, hostname);
programFPGA(fname, pos); programFPGA(fname, pos);
rebootController(pos);
} }
void Detector::updateFirmwareAndServer(const std::string &sname, void Detector::updateFirmwareAndServer(const std::string &sname,
@ -2199,7 +2198,6 @@ void Detector::updateFirmwareAndServer(const std::string &sname,
LOG(logINFO) << "Updating Firmware and Detector Server (no tftp)..."; LOG(logINFO) << "Updating Firmware and Detector Server (no tftp)...";
updateDetectorServer(sname, pos); updateDetectorServer(sname, pos);
programFPGA(fname, pos); programFPGA(fname, pos);
rebootController(pos);
} }
Result<uint32_t> Detector::readRegister(uint32_t addr, Positions pos) const { Result<uint32_t> Detector::readRegister(uint32_t addr, Positions pos) const {