diff --git a/manual.c b/manual.c index 29b8080..e78b719 100644 --- a/manual.c +++ b/manual.c @@ -108,32 +108,26 @@ estimate_and_set_system(struct timespec *now, int offset_provided, double offset int found_freq; double slew_by; + b0 = offset_provided ? offset : 0.0; + b1 = freq = 0.0; + found_freq = 0; + if (n_samples > 1) { for (i=0; i