Commit 296f6ff4 authored by Jean-Claude BAU's avatar Jean-Claude BAU

Bug fix in HAL: Not going to HAL_PORT_STATE_LOCKING state

parent 58143872
......@@ -700,7 +700,7 @@ int hal_port_start_lock(const char *port_name, int priority)
hal_port_poll_rts_state(); // update rts state
if ( (hal_get_timing_mode()==HAL_TIMING_MODE_BC) &&
(ret=rts_lock_channel(p->hw_index, 0))>0 ) {
(ret=rts_lock_channel(p->hw_index, 0))==0 ) {
/* lock shmem */
wrs_shm_write(hal_shmem_hdr, WRS_SHM_WRITE_BEGIN);
/* fixme: check the main FSM state before */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment