Browse Source

another typo

Bernhard 13 years ago
parent
commit
a6823a84e1
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/stepper.cpp

+ 4
- 4
Marlin/stepper.cpp View File

@@ -77,7 +77,7 @@ static bool old_y_max_endstop=false;
77 77
 static bool old_z_min_endstop=false;
78 78
 static bool old_z_max_endstop=false;
79 79
 
80
-static bool bussy_error=false;
80
+static bool busy_error=false;
81 81
 unsigned short OCR1A_error=12345;
82 82
 unsigned short OCR1A_nominal;
83 83
 
@@ -166,11 +166,11 @@ asm volatile ( \
166 166
 
167 167
 void checkStepperErrors()
168 168
 {
169
-  if(bussy_error) {
169
+  if(busy_error) {
170 170
     SERIAL_ERROR_START
171 171
     SERIAL_ERROR(OCR1A_error);
172 172
     SERIAL_ERRORLNPGM(" ISR overtaking itself.");
173
-    bussy_error = false;
173
+    busy_error = false;
174 174
   }
175 175
 }
176 176
 
@@ -280,7 +280,7 @@ ISR(TIMER1_COMPA_vect)
280 280
 {        
281 281
   if(busy){ 
282 282
     OCR1A_error = OCR1A;
283
-    bussy_error = true;
283
+    busy_error = true;
284 284
     OCR1A = 30000;
285 285
     return; 
286 286
   } // The busy-flag is used to avoid reentering this interrupt

Loading…
Cancel
Save