mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
bug fix: servername interchanged for firmware name
This commit is contained in:
@ -2189,7 +2189,7 @@ void Detector::updateFirmwareAndServer(const std::string &sname,
|
|||||||
Positions pos) {
|
Positions pos) {
|
||||||
LOG(logINFO) << "Updating Firmware and Detector Server (no tftp)...";
|
LOG(logINFO) << "Updating Firmware and Detector Server (no tftp)...";
|
||||||
LOG(logINFO) << "Updating Detector Server (no tftp)...";
|
LOG(logINFO) << "Updating Detector Server (no tftp)...";
|
||||||
std::vector<char> buffer = readBinaryFile(fname, "Update Detector Server");
|
std::vector<char> buffer = readBinaryFile(sname, "Update Detector Server");
|
||||||
std::string filename = sls::getFileNameFromFilePath(sname);
|
std::string filename = sls::getFileNameFromFilePath(sname);
|
||||||
pimpl->Parallel(&Module::updateDetectorServer, pos, buffer, filename);
|
pimpl->Parallel(&Module::updateDetectorServer, pos, buffer, filename);
|
||||||
programFPGA(fname, pos);
|
programFPGA(fname, pos);
|
||||||
|
Reference in New Issue
Block a user