Commit a6620b4a authored by Tristan Gingold's avatar Tristan Gingold

proto-ext-whiterabbit: disable timing when leaving SLAVE

Even when going to UNCALIBRATED, as disabling timing clear
tm_valid pin.

Not sure why UNCALIBRATED was a special case before.
parent 48edb778
......@@ -283,11 +283,10 @@ static void wr_state_change(struct pp_instance *ppi)
* in SLAVE state with the extension active and now it can be inactive
*/
WRH_OPER()->locking_reset(ppi);
if ( ppi->next_state!=PPS_UNCALIBRATED ) {
/* Leave SLAVE/UNCALIB states : We must stop the PPS generation */
if ( !GOPTS(GLBS(ppi))->forcePpsGen )
TOPS(ppi)->enable_timing_output(GLBS(ppi),0);
}
/* Leave SLAVE/UNCALIB states : We must stop the PPS generation */
if ( !GOPTS(GLBS(ppi))->forcePpsGen )
TOPS(ppi)->enable_timing_output(GLBS(ppi),0);
}
}
......
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