Re: [Linuxptp-devel] [PATCHv2 2/6] Refactor time stamp processing.
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Richard C. <ric...@gm...> - 2015-03-25 09:03:52
|
On Wed, Mar 25, 2015 at 09:55:49AM +0100, Richard Cochran wrote:
> > +int tsproc_update_delay(struct tsproc *tsp, tmv_t *delay)
> > +{
> > + tmv_t raw_delay;
> > +
> > + if (!tsp->t1 || !tsp->t2 || !tsp->t3 || !tsp->t4)
> > + return -1;
>
> Use tmv_zero() here ...
Rather, tmv_is_zero().
Thanks,
Richard
|