ソースを参照

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);

読み込み中…
キャンセル
保存