lpcmanager
Clone
Summary
Browse
Changes
Graph
Devices Bus : Removed explicit RTS pin toggling as GPIO, now that kernel side RS485 driver handles it. Also changed UART task sleep/unblock into suspend/resume, since it looks unreliable in xenomai3
revamp
2018-05-16, Edouard Tisserant
c4244c0ad6c7
Devices Bus : Removed explicit RTS pin toggling as GPIO, now that kernel side RS485 driver handles it. Also changed UART task sleep/unblock into suspend/resume, since it looks unreliable in xenomai3
UART_task_active = 0;
rt_task_resume(&UART_task);
rt_task_delete(&UART_task);
rt_task_join(&UART_task);
closeserial(UART_fd);
rt_mutex_delete(&UART_WriteMutex);
rt_mutex_delete(&UART_ReadMutex);