maybe resetting reinit_prediction would help?

This commit is contained in:
Cary Sandvig 2000-12-05 23:02:31 +00:00
parent 913ae94c66
commit 21fa9cbae5

View File

@ -406,8 +406,10 @@ inline static void predict_linear(void) {
static float A_time, B_time;
static float time = 0.;
if (reinit_prediction)
if (reinit_prediction) {
state = 0;
reinit_prediction = false;
}
switch (state) {
case 0:
if (new_telemetry) {