소스 검색

Update IR sensor selftest progress bar more frequently.

Marek Bel 6 년 전
부모
커밋
1d71c1a5d1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Firmware/ultralcd.cpp

+ 2 - 1
Firmware/ultralcd.cpp

@@ -7029,12 +7029,13 @@ static bool selftest_irsensor()
     mmu_wait_for_heater_blocking();
     uint8_t progress = lcd_selftest_screen(9, 0, 1, true, 0);
     mmu_filament_ramming();
+    progress = lcd_selftest_screen(9, progress, 1, true, 0);
     mmu_command(MMU_CMD_U0);
     manage_response(false, false);
 
     for(uint_least8_t i = 0; i < 200; ++i)
     {
-        if (0 == (i % 50)) progress = lcd_selftest_screen(9, progress, 1, true, 0);
+        if (0 == (i % 32)) progress = lcd_selftest_screen(9, progress, 1, true, 0);
 
         mmu_load_step(false);
         while (blocks_queued())