Commit d394ea25 authored by Pietro Fezzardi's avatar Pietro Fezzardi Committed by Alessandro Rubini

time-sim: fixed init_servo

It now returns the initial value of freq_ppm_real, a parameter
representing the error of the simulated hw clock
parent c72c5679
......@@ -105,7 +105,7 @@ static int sim_adjust_offset(struct pp_instance *ppi, long offset_ns)
static inline int sim_init_servo(struct pp_instance *ppi)
{
return SIM_PPI_ARCH(ppi)->time.freq_ppm_servo;
return SIM_PPI_ARCH(ppi)->time.freq_ppm_real;
}
static unsigned long sim_calc_timeout(struct pp_instance *ppi, int millisec)
......
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