lpcmanager
Clone
Summary
Browse
Changes
Graph
Changed GOT.131 to GOT_131. Better to use underline for arch detection.
2017-06-13, dporopat
0f6f52d53857
Changed GOT.131 to GOT_131. Better to use underline for arch detection.
if(!rt_mutex_acquire(&UART_WriteMutex, TM_INFINITE )){
int prevstate;
prevstate=uartDevWriteBuf_plc_state;
uartDevWriteBuf_plc_state = LOCKED;
rt_mutex_release(&UART_WriteMutex);
%(publish_code)s
/* unlock plc buffer */
uartDevWriteBuf_plc_state = FULL;
/* wakeup task */
rt_task_unblock(&UART_task);
}