diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-02 01:05:48 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-02 01:05:48 (GMT) |
| commit | 9991451dcc1174b970f89c726405aa34ed63c06b (patch) | |
| tree | f1d4abe647368acaaef19d45786e31cf096a5dcc | |
| parent | b842d3499143e85a6d02107feb27d4ff5809e0f8 (diff) | |
adjust jump detection value
| -rw-r--r-- | src/displayapp/screens/Motion.cpp | 2 |
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; |
