mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +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) {
|
if (*dataStreamEnable) {
|
||||||
//restart timer
|
//restart timer
|
||||||
clock_gettime(CLOCK_REALTIME, &timerBegin);
|
clock_gettime(CLOCK_REALTIME, &timerBegin);
|
||||||
|
timerBegin.tv_sec -= (*streamingTimerInMs) / 1000;
|
||||||
|
timerBegin.tv_nsec -= ((*streamingTimerInMs) % 1000) * 1000000;
|
||||||
|
|
||||||
//to send first image
|
//to send first image
|
||||||
currentFreqCount = *streamingFrequency;
|
currentFreqCount = *streamingFrequency;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user