Browse Source

'fix' strange rounding glitch

Thomas Buck 11 months 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
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
150
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
151
                         "%s\n", wf_step_str(state.step));
151
                         "%s\n", wf_step_str(state.step));
152
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
152
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
153
-                        "%.0f -> %.0f -> %.0f",
153
+                        "%.0f -> %.1f -> %.0f",
154
                         state.start_val / 1000.0f,
154
                         state.start_val / 1000.0f,
155
                         state.curr_val / 1000.0f,
155
                         state.curr_val / 1000.0f,
156
                         state.step->val / 1000.0f);
156
                         state.step->val / 1000.0f);

Loading…
Cancel
Save