summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-02 01:05:48 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-02 01:05:48 (GMT)
commit9991451dcc1174b970f89c726405aa34ed63c06b (patch)
treef1d4abe647368acaaef19d45786e31cf096a5dcc
parentb842d3499143e85a6d02107feb27d4ff5809e0f8 (diff)
adjust jump detection value
-rw-r--r--src/displayapp/screens/Motion.cpp2
1 files changed, 1 insertions, 1 deletions
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;