Browse Source

'fix' strange rounding glitch

Thomas Buck 1 year ago
parent
commit
f11237c4ff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/state_volcano_run.c

+ 1
- 1
src/state_volcano_run.c View File

@@ -150,7 +150,7 @@ static void draw(struct menu_state *menu) {
150 150
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
151 151
                         "%s\n", wf_step_str(state.step));
152 152
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
153
-                        "%.0f -> %.0f -> %.0f",
153
+                        "%.0f -> %.1f -> %.0f",
154 154
                         state.start_val / 1000.0f,
155 155
                         state.curr_val / 1000.0f,
156 156
                         state.step->val / 1000.0f);

Loading…
Cancel
Save