diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-05 01:58:10 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-05 02:23:55 (GMT) |
| commit | e721c71153d68578e6428c58c6a31698337f7d71 (patch) | |
| tree | d96766fcba99ab53c88d7e96ba51aef7fefa3606 /src/displayapp/screens/Motion.h | |
| parent | 20a3b99a978790de692b24d7eb3d1fead3fedc5d (diff) | |
fix for missed updating of display
Diffstat (limited to 'src/displayapp/screens/Motion.h')
| -rw-r--r-- | src/displayapp/screens/Motion.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/screens/Motion.h b/src/displayapp/screens/Motion.h index 761d90b..3ee6bfc 100644 --- a/src/displayapp/screens/Motion.h +++ b/src/displayapp/screens/Motion.h @@ -30,9 +30,13 @@ namespace Pinetime { // bool calibrating = true; bool started = false; bool jumping = false; + bool new_record = true; TickType_t last_frame_time = 0; TickType_t last_redraw_frame_time = 0; // uint8_t dropped_frames = 0; + double last_jump_length = 0; + double best_jump_length = 0; // Best jump length in this session + lv_color_t color; double current_jump_length; double current_jump_speed; struct Record { |
