mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
programfpga already does reboot
This commit is contained in:
parent
233d374a4d
commit
0e9c88dfa2
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user