From 014b8cf9a635c068194e90ab8f869afdbd2c6c47 Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Wed, 28 Aug 2019 12:05:45 +0200 Subject: [PATCH] fixed problem with dbitpipeline in ctb gui --- ctbGui/ctbPattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctbGui/ctbPattern.cpp b/ctbGui/ctbPattern.cpp index e25974988..d03613852 100755 --- a/ctbGui/ctbPattern.cpp +++ b/ctbGui/ctbPattern.cpp @@ -872,7 +872,7 @@ void ctbPattern::update() { eDBitClkPhase->SetNumber(n); try { - myDet->setSpeed(slsDetectorDefs::DBIT_PIPELINE,0,-1); + n=myDet->setSpeed(slsDetectorDefs::DBIT_PIPELINE,-1,0); } catch (...) { cout << "Do nothing for this error" << endl;