sys_generic: allow fast slewing with system driver

The system drivers may implement their own slewing which the generic
driver can use to slew faster than the maximum frequency the driver is
allowed to set directly.
This commit is contained in:
Miroslav Lichvar
2015-09-22 17:12:15 +02:00
parent 8feb37df2b
commit d6fdae5f1d
5 changed files with 105 additions and 11 deletions

View File

@@ -384,7 +384,8 @@ SYS_Linux_Initialise(void)
SYS_Timex_InitialiseWithFunctions(1.0e6 * max_tick_bias / nominal_tick,
1.0 / tick_update_hz,
read_frequency, set_frequency,
have_setoffset ? apply_step_offset : NULL);
have_setoffset ? apply_step_offset : NULL,
0.0, 0.0, NULL, NULL);
}
/* ================================================== */