lpcmanager
Clone
Summary
Browse
Changes
Graph
LPCBus: enlarge timeout for rs485 devices with short buffer. Fixes CH1 module response being ignored.
20 months ago, Edouard Tisserant
2c3a530cc6b7
LPCBus: enlarge timeout for rs485 devices with short buffer. Fixes CH1 module response being ignored.
pthread_mutex_lock(&UART_WakeCondLock);
UART_task_active = 0;
pthread_cond_signal(&UART_WakeCond);
pthread_mutex_unlock(&UART_WakeCondLock);
pthread_join(UART_task, NULL);
closeserial(UART_fd);