lpcmanager
Clone
Summary
Browse
Changes
Graph
LPCBus: enlarge timeout for rs485 devices with short buffer. Fixes CH1 module response being ignored.
py2compat
20 months ago, Edouard Tisserant
3a57baf957ed
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);