Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions lightFieldApp/src/LightField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,6 @@ void LightField::frameCallback(ImageDataSetReceivedEventArgs^ args)
size_t dims[2];
NDArray *pImage;
NDDataType_t dataType;
epicsTimeStamp currentTime;
static const char *functionName = "frameCallback";

asynPrint(pasynUserSelf, ASYN_TRACE_FLOW,
Expand Down Expand Up @@ -717,9 +716,7 @@ void LightField::frameCallback(ImageDataSetReceivedEventArgs^ args)
setIntegerParam(NDArraySizeY, (int)pImage->dims[1].size);

pImage->uniqueId = arrayCounter;
epicsTimeGetCurrent(&currentTime);
pImage->timeStamp = currentTime.secPastEpoch + currentTime.nsec / 1.e9;
updateTimeStamp(&pImage->epicsTS);
updateTimeStamps(pImage);

/* Get any attributes that have been defined for this driver */
getAttributes(pImage->pAttributeList);
Expand Down