Skip to content

Commit

Permalink
Rename ignore_blocks_queued
Browse files Browse the repository at this point in the history
more speaking name
  • Loading branch information
Wurstnase committed Dec 29, 2014
1 parent 4122de9 commit d1995ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ CardReader card;
#endif
float homing_feedrate[] = HOMING_FEEDRATE;
bool axis_relative_modes[] = AXIS_RELATIVE_MODES;
bool ignore_blocks_queued = false;
bool ignore_stepper_inactivity_queue_check = false;
int feedmultiply=100; //100->1 200->2
int saved_feedmultiply;
int extrudemultiply=100; //100->1 200->2
Expand Down Expand Up @@ -3617,9 +3617,9 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
while(!lcd_clicked()){
cnt++;
manage_heater();
ignore_blocks_queued = true;
ignore_stepper_inactivity_queue_check = true;
manage_inactivity();
ignore_blocks_queued = false;
ignore_stepper_inactivity_queue_check = false;
lcd_update();
if(cnt==0)
{
Expand Down Expand Up @@ -4338,7 +4338,7 @@ void manage_inactivity()
if(stepper_inactive_time) {
if( (millis() - previous_millis_cmd) > stepper_inactive_time )
{
if(blocks_queued() == false && ignore_blocks_queued != true) {
if(blocks_queued() == false && ignore_stepper_inactivity_queue_check != true) {
disable_x();
disable_y();
disable_z();
Expand Down

0 comments on commit d1995ae

Please sign in to comment.