From ac196b8e0a119519303ae1cc50ca287ff6d87d4d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 10 Feb 2018 08:00:24 +1100 Subject: [PATCH] Plane: fixed build error --- ArduPlane/is_flying.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/is_flying.cpp b/ArduPlane/is_flying.cpp index c0ed21bcb2..dd99ff4d9c 100644 --- a/ArduPlane/is_flying.cpp +++ b/ArduPlane/is_flying.cpp @@ -218,7 +218,7 @@ void Plane::crash_detection_update(void) // trigger hard landing event right away, or never again. This inhibits a false hard landing // event when, for example, a minute after a good landing you pick the plane up and // this logic is still running and detects the plane is on its side as you carry it. - crash_state.debounce_timer_ms = now; + crash_state.debounce_timer_ms = now_ms; crash_state.debounce_time_total_ms = 0; // no debounce }