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

Loading…
Cancel
Save