removing some debug code

This commit is contained in:
PavelSindler 2018-06-05 20:39:42 +02:00
parent 264daaf715
commit d49c4508a7
1 changed files with 2 additions and 4 deletions

View File

@ -8557,7 +8557,6 @@ void stop_and_save_print_to_ram(float z_move, float e_move)
MYSERIAL.print(char(card.get())); MYSERIAL.print(char(card.get()));
SERIAL_ECHOLNPGM("End of command buffer"); SERIAL_ECHOLNPGM("End of command buffer");
} }
#if 0
{ {
// Print the content of the planner buffer, line by line: // Print the content of the planner buffer, line by line:
card.setIndex(saved_sdpos); card.setIndex(saved_sdpos);
@ -8567,7 +8566,7 @@ void stop_and_save_print_to_ram(float z_move, float e_move)
MYSERIAL.print(int(iline), DEC); MYSERIAL.print(int(iline), DEC);
SERIAL_ECHOPGM(", length: "); SERIAL_ECHOPGM(", length: ");
MYSERIAL.print(block_buffer[idx].sdlen, DEC); MYSERIAL.print(block_buffer[idx].sdlen, DEC);
/*SERIAL_ECHOPGM(", steps: ("); SERIAL_ECHOPGM(", steps: (");
MYSERIAL.print(block_buffer[idx].steps_x, DEC); MYSERIAL.print(block_buffer[idx].steps_x, DEC);
SERIAL_ECHOPGM(","); SERIAL_ECHOPGM(",");
MYSERIAL.print(block_buffer[idx].steps_y, DEC); MYSERIAL.print(block_buffer[idx].steps_y, DEC);
@ -8578,10 +8577,9 @@ void stop_and_save_print_to_ram(float z_move, float e_move)
SERIAL_ECHOPGM("), events: "); SERIAL_ECHOPGM("), events: ");
MYSERIAL.println(block_buffer[idx].step_event_count, DEC); MYSERIAL.println(block_buffer[idx].step_event_count, DEC);
for (int len = block_buffer[idx].sdlen; len > 0; -- len) for (int len = block_buffer[idx].sdlen; len > 0; -- len)
MYSERIAL.print(char(card.get()));*/ MYSERIAL.print(char(card.get()));
} }
} }
#endif
{ {
// Print the content of the command buffer, line by line: // Print the content of the command buffer, line by line:
int8_t iline = 0; int8_t iline = 0;