Просмотр исходного кода

removed temporary debuging code

PavelSindler 7 лет назад
Родитель
Сommit
64a709c097
3 измененных файлов с 2 добавлено и 11 удалено
  1. 2 9
      Firmware/Marlin_main.cpp
  2. 0 1
      Firmware/temperature.cpp
  3. 0 1
      Firmware/ultralcd.cpp

+ 2 - 9
Firmware/Marlin_main.cpp

@@ -2620,7 +2620,7 @@ void process_commands()
     {
       st_synchronize();
 
-#if 1
+#if 0
       SERIAL_ECHOPGM("G28, initial ");  print_world_coordinates();
       SERIAL_ECHOPGM("G28, initial ");  print_physical_coordinates();
 #endif
@@ -2865,7 +2865,7 @@ void process_commands()
 	  if (farm_mode) { prusa_statistics(20); };
 
 	  homing_flag = false;
-#if 1
+#if 0
       SERIAL_ECHOPGM("G28, final ");  print_world_coordinates();
       SERIAL_ECHOPGM("G28, final ");  print_physical_coordinates();
       SERIAL_ECHOPGM("G28, final ");  print_mesh_bed_leveling_table();
@@ -7352,13 +7352,6 @@ void long_pause() //long pause print
 	pause_lastpos[Z_AXIS] = current_position[Z_AXIS];
 	pause_lastpos[E_AXIS] = current_position[E_AXIS];
 
-	SERIAL_ECHOPGM("X: "); 
-	MYSERIAL.println(pause_lastpos[X_AXIS]);
-	SERIAL_ECHOPGM("Y: ");
-	MYSERIAL.println(pause_lastpos[Y_AXIS]);
-	SERIAL_ECHOPGM("Z: ");
-	MYSERIAL.println(pause_lastpos[Z_AXIS]);
-
 	//retract
 	current_position[E_AXIS] -= DEFAULT_RETRACTION;
 	plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 400, active_extruder);

+ 0 - 1
Firmware/temperature.cpp

@@ -501,7 +501,6 @@ void fanSpeedError(unsigned char _fan) {
 	}
 	else {
 		setTargetHotend0(0);
-		Stop();
 	}
 	SERIAL_ERROR_START;
 	switch (_fan) {

+ 0 - 1
Firmware/ultralcd.cpp

@@ -612,7 +612,6 @@ void lcd_commands()
 			card.startFileprint();
 			lcd_commands_step = 0;
 			lcd_commands_type = 0;
-			SERIAL_ECHOPGM("isPrintPaused set to false!!!");
 		}
 		if (lcd_commands_step == 2 && !blocks_queued()) {	//turn on fan, move Z and unretract