overworked the serial responses. Quite difficult, since many texts are Pronterface protocol.

This commit is contained in:
Bernhard Kubicek
2011-11-06 17:33:09 +01:00
parent 1740a83e11
commit 900e0c9bf2
9 changed files with 90 additions and 87 deletions

View File

@ -211,7 +211,7 @@ inline void trapezoid_generator_reset() {
// It pops blocks from the block_buffer and executes them by pulsing the stepper pins appropriately.
ISR(TIMER1_COMPA_vect)
{
if(busy){ Serial.print(*(unsigned short *)OCR1A); Serial.println(" BUSY");
if(busy){ SERIAL_ERRORLN(*(unsigned short *)OCR1A<< " ISR overtaking itself.");
return;
} // The busy-flag is used to avoid reentering this interrupt