From dc53887a48ad0100cefb2f62b03bedf95cce353e Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Wed, 11 Mar 2020 17:49:32 +0100 Subject: [PATCH] minor clean --- slsDetectorSoftware/src/DetectorImpl.cpp | 1 - slsDetectorSoftware/src/DetectorImpl.h | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/slsDetectorSoftware/src/DetectorImpl.cpp b/slsDetectorSoftware/src/DetectorImpl.cpp index 863daf6d7..3967a57b7 100755 --- a/slsDetectorSoftware/src/DetectorImpl.cpp +++ b/slsDetectorSoftware/src/DetectorImpl.cpp @@ -160,7 +160,6 @@ void DetectorImpl::initializeDetectorStructure() { multi_shm()->numberOfChannels.x = 0; multi_shm()->numberOfChannels.y = 0; multi_shm()->acquiringFlag = false; - multi_shm()->receiver_upstream = false; multi_shm()->initialChecks = true; } diff --git a/slsDetectorSoftware/src/DetectorImpl.h b/slsDetectorSoftware/src/DetectorImpl.h index 822deed95..3990d33b4 100755 --- a/slsDetectorSoftware/src/DetectorImpl.h +++ b/slsDetectorSoftware/src/DetectorImpl.h @@ -64,9 +64,6 @@ struct sharedMultiSlsDetector { /** flag for acquiring */ bool acquiringFlag; - /** data streaming (up stream) enable in receiver */ - bool receiver_upstream; - /** initial checks */ bool initialChecks; }; @@ -393,14 +390,6 @@ class DetectorImpl : public virtual slsDetectorDefs { */ int kbhit(); - /** - * Convert a double holding time in seconds to an int64_t with nano seconds - * Used for conversion when sending time to detector - * @param t time in seconds - * @returns time in nano seconds - */ - int64_t secondsToNanoSeconds(double t); - /** Multi detector Id */ const int multiId{0};