浏览代码

don't update screen 10x per second

Thomas Buck 10 个月前
父节点
当前提交
0db558453e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/state_volcano_run.c

+ 1
- 1
src/state_volcano_run.c 查看文件

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

正在加载...
取消
保存