Skip to content

Commit 780bd64

Browse files
committed
Apply linter
1 parent 189cb28 commit 780bd64

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

xspdApp/src/ADXSPD.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,18 @@ void ADXSPD::acquisitionThread() {
308308
// if (counterMode == XSPD::CounterMode::DUAL && prevFrameBuffer != nullptr) {
309309
// switch (dataType) {
310310
// case NDUInt8:
311-
// this->subtractFrames<uint8_t>(frameBuffer, prevFrameBuffer, pArray->pData,
311+
// this->subtractFrames<uint8_t>(frameBuffer, prevFrameBuffer,
312+
// pArray->pData,
312313
// arrayInfo.totalBytes);
313314
// break;
314315
// case NDUInt16:
315-
// this->subtractFrames<uint16_t>(frameBuffer, prevFrameBuffer, pArray->pData,
316+
// this->subtractFrames<uint16_t>(frameBuffer, prevFrameBuffer,
317+
// pArray->pData,
316318
// arrayInfo.totalBytes);
317319
// break;
318320
// case NDUInt32:
319-
// this->subtractFrames<uint32_t>(frameBuffer, prevFrameBuffer, pArray->pData,
321+
// this->subtractFrames<uint32_t>(frameBuffer, prevFrameBuffer,
322+
// pArray->pData,
320323
// arrayInfo.totalBytes);
321324
// break;
322325
// default:
@@ -350,7 +353,6 @@ void ADXSPD::acquisitionThread() {
350353
getAttributes(pArray->pAttributeList);
351354

352355
if (arrayCallbacks) doCallbacksGenericPointer(pArray, NDArrayData, 0);
353-
354356
}
355357

356358
// If in single mode, finish acq, if in multiple mode and reached target number
@@ -630,7 +632,7 @@ asynStatus ADXSPD::writeInt32(asynUser* pasynUser, epicsInt32 value) {
630632
"counter_mode", static_cast<XSPD::CounterMode>(value)));
631633
for (auto& module : this->modules) {
632634
module->getMaxNumImages();
633-
module->getFlatfieldState(); // FF is different for each counter mode
635+
module->getFlatfieldState(); // FF is different for each counter mode
634636
}
635637
} else if (function == ADXSPD_SaturationFlag) {
636638
actualValue = static_cast<int>(this->pDetector->SetVar<XSPD::OnOff>(

0 commit comments

Comments
 (0)