From 9991451dcc1174b970f89c726405aa34ed63c06b Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Sat, 2 Apr 2022 03:05:48 +0200 Subject: adjust jump detection value diff --git a/src/displayapp/screens/Motion.cpp b/src/displayapp/screens/Motion.cpp index 4597426..0b9aab7 100644 --- a/src/displayapp/screens/Motion.cpp +++ b/src/displayapp/screens/Motion.cpp @@ -76,7 +76,7 @@ void Motion::Refresh() { if (started) { TickType_t current_frame_ms = current_time - last_frame_time; double G_scaled = G * G_SCALE; - if (G_scaled < 0.618) { + if (G_scaled < 0.382) { if (!jumping) { jump_started_or_ended = true; current_jump_speed = 0; -- cgit v0.10.2