Browse Source

Add array size to servo_endstop_angles (PR#2553)

Scott Lahteine 10 years ago
parent
commit
4a58e447a1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

316
 
316
 
317
 #ifdef SERVO_ENDSTOPS
317
 #ifdef SERVO_ENDSTOPS
318
   const int servo_endstops[] = SERVO_ENDSTOPS;
318
   const int servo_endstops[] = SERVO_ENDSTOPS;
319
-  const int servo_endstop_angles[][] = SERVO_ENDSTOP_ANGLES;
319
+  const int servo_endstop_angles[][2] = SERVO_ENDSTOP_ANGLES;
320
 #endif
320
 #endif
321
 
321
 
322
 #ifdef BARICUDA
322
 #ifdef BARICUDA

Loading…
Cancel
Save