Commit 44d3922f authored by Alessandro Rubini's avatar Alessandro Rubini

bugfix: wr: wr_timer_get_msec_tics() is no more

We should use time operations instead. I forgot the protorype
in the header, and now we fail the link step of wrpc-sw with ppsi.

Bug introduced in 4b07d444, 106 commits ago.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent e0e64285
......@@ -95,8 +95,6 @@ int wr_enable_ptracker(struct pp_instance *ppi);
int wr_enable_timing_output(struct pp_instance *ppi, int enable);
uint32_t wr_timer_get_msec_tics(void);
int wr_adjust_in_progress(void);
int wr_adjust_counters(int64_t adjust_sec, int32_t adjust_nsec);
int wr_adjust_phase(int32_t phase_ps);
......
......@@ -305,7 +305,7 @@ int wr_servo_update(struct pp_instance *ppi)
s->delta_ms = delay_ms_fix;
tics = wr_timer_get_msec_tics();
tics = ppi->t_ops->calc_timeout(ppi, 0);
if (s->state != WR_WAIT_SYNC_IDLE) {
PP_PRINTF("servo:state: %d (%s)\n", s->state,
......
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