This commit is contained in:
Erik Frojdh
2019-03-13 16:29:29 +01:00
parent 75ce111344
commit 85134443de
2 changed files with 89 additions and 87 deletions

View File

@ -1769,7 +1769,7 @@ class slsDetector : public virtual slsDetectorDefs, public virtual errorDefs {
* @param mod module structure which has to be written to file
* @returns OK or FAIL if the file could not be written
*/
int writeSettingsFile(const std::string &fname, sls_detector_module mod);
int writeSettingsFile(const std::string &fname, sls_detector_module& mod);
/** slsDetector Id or position in the detectors list */
int detId;
@ -1781,13 +1781,13 @@ class slsDetector : public virtual slsDetectorDefs, public virtual errorDefs {
sharedSlsDetector *thisDetector{nullptr};
/** pointer to detector module structures in shared memory */
sls_detector_module *detectorModules{nullptr};
// sls_detector_module *detectorModules{nullptr};
/** pointer to dac valuse in shared memory */
int *dacs{nullptr};
// int *dacs{nullptr};
/** pointer to channel registers in shared memory */
int *chanregs{nullptr};
// int *chanregs{nullptr};
};
#endif