mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 11:50:03 +02:00
so that the first image shows
This commit is contained in:
parent
1e7932f09c
commit
f8bb6a04a9
@ -348,6 +348,9 @@ void DataProcessor::ProcessAnImage(char* buf) {
|
||||
if (*dataStreamEnable) {
|
||||
//restart timer
|
||||
clock_gettime(CLOCK_REALTIME, &timerBegin);
|
||||
timerBegin.tv_sec -= (*streamingTimerInMs) / 1000;
|
||||
timerBegin.tv_nsec -= ((*streamingTimerInMs) % 1000) * 1000000;
|
||||
|
||||
//to send first image
|
||||
currentFreqCount = *streamingFrequency;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user