Browse Source

don't update screen 10x per second

Thomas Buck 1 year ago
parent
commit
0db558453e
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

106
                         (state.step.op == OP_WAIT_TIME) ? "wait" : "pump",
106
                         (state.step.op == OP_WAIT_TIME) ? "wait" : "pump",
107
                         state.step.val / 1000.0f);
107
                         state.step.val / 1000.0f);
108
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
108
         pos += snprintf(menu->buff + pos, MENU_MAX_LEN - pos,
109
-                        "%.1f -> %.1f -> %.1f",
109
+                        "%.0f -> %.0f -> %.0f",
110
                         state.start_val / 1000.0f,
110
                         state.start_val / 1000.0f,
111
                         state.curr_val / 1000.0f,
111
                         state.curr_val / 1000.0f,
112
                         state.step.val / 1000.0f);
112
                         state.step.val / 1000.0f);

Loading…
Cancel
Save