Bernhard 13 лет назад
Родитель
Сommit
191f36b493
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      Marlin/planner.cpp
  2. 1
    1
      Marlin/ultralcd.pde

+ 1
- 1
Marlin/planner.cpp Просмотреть файл

@@ -530,7 +530,7 @@ void plan_buffer_line(const float &x, const float &y, const float &z, const floa
530 530
   // slow down when de buffer starts to empty, rather than wait at the corner for a buffer refill
531 531
   int moves_queued=(block_buffer_head-block_buffer_tail + BLOCK_BUFFER_SIZE) & (BLOCK_BUFFER_SIZE - 1);
532 532
   
533
-  if(moves_queued < (BLOCK_BUFFER_SIZE * 0.5)) feed_rate = feed_rate / ((BLOCK_BUFFER_SIZE * 0.5)/moves_queued); 
533
+  if(moves_queued < (BLOCK_BUFFER_SIZE * 0.5)) feed_rate = feed_rate*moves_queued / (BLOCK_BUFFER_SIZE * 0.5); 
534 534
 #endif
535 535
 
536 536
 /*

+ 1
- 1
Marlin/ultralcd.pde Просмотреть файл

@@ -1435,7 +1435,7 @@ void MainMenu::showMainMenu()
1435 1435
     switch(line)
1436 1436
     { 
1437 1437
       case ItemM_watch:
1438
-        MENUITEM(  lcdprintPGM(" Watch \003")  ,  BLOCK;status=Main_Status;beepshort(); ) ;
1438
+        MENUITEM(  lcdprintPGM(" Watch   \003")  ,  BLOCK;status=Main_Status;beepshort(); ) ;
1439 1439
        break;
1440 1440
       case ItemM_prepare:
1441 1441
         MENUITEM(  if(!tune) lcdprintPGM(" Prepare \x7E");else  lcdprintPGM(" Tune    \x7E"); ,  BLOCK;status=Main_Prepare;beepshort(); ) ;

Загрузка…
Отмена
Сохранить