}
/* ================================================== */
-/* This routine reschedules fast slew timeout after frequency was changed */
+/* This routine reschedules fast slew timeout according
+ to the current frequency and offset */
static void
adjust_fast_slew(double old_tick, double old_delta_tick)
if (!fast_slewing) {
initiate_slew();
- } /* Otherwise, when the fast slew completes, any other stuff
- in the offset register will be applied */
-
+ } else {
+ adjust_fast_slew(current_total_tick, delta_total_tick);
+ }
}
/* ================================================== */