Commit 5c104cc9 authored by Alessandro Rubini's avatar Alessandro Rubini

wr_protocol: fix a compiler warning

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 33154791
...@@ -206,7 +206,10 @@ void wrTimerExpired(UInteger8 currentState, RunTimeOpts *rtOpts, PtpPortDS *ptpP ...@@ -206,7 +206,10 @@ void wrTimerExpired(UInteger8 currentState, RunTimeOpts *rtOpts, PtpPortDS *ptpP
} }
else else
{ {
// PTPD_TRACE(TRACE_WR_PROTO, ptpPortDS,"WR_Slave_TIMEOUT: state[=%d] timeout, repeated %d times, going to Standard PTP\n", \ if (0)
PTPD_TRACE(TRACE_WR_PROTO, ptpPortDS,
"WR_Slave_TIMEOUT: state[=%d] timeout, "
"repeated %d times, going to Standard PTP\n",
currentState,ptpPortDS->currentWRstateCnt ); currentState,ptpPortDS->currentWRstateCnt );
ptpPortDS->wrModeON = FALSE; ptpPortDS->wrModeON = FALSE;
......
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