Bernhard 13 years ago
parent
commit
191f36b493
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/planner.cpp
  2. 1
    1
      Marlin/ultralcd.pde

+ 1
- 1
Marlin/planner.cpp View File

530
   // slow down when de buffer starts to empty, rather than wait at the corner for a buffer refill
530
   // slow down when de buffer starts to empty, rather than wait at the corner for a buffer refill
531
   int moves_queued=(block_buffer_head-block_buffer_tail + BLOCK_BUFFER_SIZE) & (BLOCK_BUFFER_SIZE - 1);
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
 #endif
534
 #endif
535
 
535
 
536
 /*
536
 /*

+ 1
- 1
Marlin/ultralcd.pde View File

1435
     switch(line)
1435
     switch(line)
1436
     { 
1436
     { 
1437
       case ItemM_watch:
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
        break;
1439
        break;
1440
       case ItemM_prepare:
1440
       case ItemM_prepare:
1441
         MENUITEM(  if(!tune) lcdprintPGM(" Prepare \x7E");else  lcdprintPGM(" Tune    \x7E"); ,  BLOCK;status=Main_Prepare;beepshort(); ) ;
1441
         MENUITEM(  if(!tune) lcdprintPGM(" Prepare \x7E");else  lcdprintPGM(" Tune    \x7E"); ,  BLOCK;status=Main_Prepare;beepshort(); ) ;

Loading…
Cancel
Save