Bernhard 13 anni fa
parent
commit
191f36b493
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      Marlin/planner.cpp
  2. 1
    1
      Marlin/ultralcd.pde

+ 1
- 1
Marlin/planner.cpp Vedi File

@@ -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 Vedi File

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

Loading…
Annulla
Salva