Skip to content
Snippets Groups Projects
Commit a6823a84 authored by Bernhard's avatar Bernhard
Browse files

another typo

parent 57e163e9
Branches
Tags
No related merge requests found
...@@ -77,7 +77,7 @@ static bool old_y_max_endstop=false; ...@@ -77,7 +77,7 @@ static bool old_y_max_endstop=false;
static bool old_z_min_endstop=false; static bool old_z_min_endstop=false;
static bool old_z_max_endstop=false; static bool old_z_max_endstop=false;
static bool bussy_error=false; static bool busy_error=false;
unsigned short OCR1A_error=12345; unsigned short OCR1A_error=12345;
unsigned short OCR1A_nominal; unsigned short OCR1A_nominal;
...@@ -166,11 +166,11 @@ asm volatile ( \ ...@@ -166,11 +166,11 @@ asm volatile ( \
void checkStepperErrors() void checkStepperErrors()
{ {
if(bussy_error) { if(busy_error) {
SERIAL_ERROR_START SERIAL_ERROR_START
SERIAL_ERROR(OCR1A_error); SERIAL_ERROR(OCR1A_error);
SERIAL_ERRORLNPGM(" ISR overtaking itself."); SERIAL_ERRORLNPGM(" ISR overtaking itself.");
bussy_error = false; busy_error = false;
} }
} }
...@@ -280,7 +280,7 @@ ISR(TIMER1_COMPA_vect) ...@@ -280,7 +280,7 @@ ISR(TIMER1_COMPA_vect)
{ {
if(busy){ if(busy){
OCR1A_error = OCR1A; OCR1A_error = OCR1A;
bussy_error = true; busy_error = true;
OCR1A = 30000; OCR1A = 30000;
return; return;
} // The busy-flag is used to avoid reentering this interrupt } // The busy-flag is used to avoid reentering this interrupt
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment