diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp
index 80f9e91eb2..404edb882c 100644
--- a/Marlin/Marlin_main.cpp
+++ b/Marlin/Marlin_main.cpp
@@ -316,7 +316,7 @@ bool target_direction;
 
 #ifdef SERVO_ENDSTOPS
   const int servo_endstops[] = SERVO_ENDSTOPS;
-  const int servo_endstop_angles[][] = SERVO_ENDSTOP_ANGLES;
+  const int servo_endstop_angles[][2] = SERVO_ENDSTOP_ANGLES;
 #endif
 
 #ifdef BARICUDA