mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
got rid of unnecessary usleep before transmitting in receiver
This commit is contained in:
@ -1521,10 +1521,10 @@ void UDPStandardImplementation::startReadout(){
|
|||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
//wait so that all packets which take time has arrived
|
//wait so that all packets which take time has arrived
|
||||||
usleep(50000);
|
usleep(5000);
|
||||||
|
|
||||||
/********************************************/
|
/********************************************/
|
||||||
usleep(2000000);
|
//usleep(2000000);
|
||||||
pthread_mutex_lock(&status_mutex);
|
pthread_mutex_lock(&status_mutex);
|
||||||
status = TRANSMITTING;
|
status = TRANSMITTING;
|
||||||
pthread_mutex_unlock(&status_mutex);
|
pthread_mutex_unlock(&status_mutex);
|
||||||
|
Reference in New Issue
Block a user