From 46feae79c666ca2ec0692d231eb5199ecd2a2eed Mon Sep 17 00:00:00 2001
From: Erik van der Zalm <erik@vdzalm.eu>
Date: Mon, 2 Apr 2012 17:19:20 +0200
Subject: [PATCH] Fixed typo in arc

---
 Marlin/motion_control.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/motion_control.cpp b/Marlin/motion_control.cpp
index 5e793a279b..f11d8c8b8e 100644
--- a/Marlin/motion_control.cpp
+++ b/Marlin/motion_control.cpp
@@ -47,7 +47,7 @@ void mc_arc(float *position, float *target, float *offset, uint8_t axis_0, uint8
   float millimeters_of_travel = hypot(angular_travel*radius, fabs(linear_travel));
   if (millimeters_of_travel < 0.001) { return; }
   uint16_t segments = floor(millimeters_of_travel/MM_PER_ARC_SEGMENT);
-  if(segments = 0) segments = 1;
+  if(segments == 0) segments = 1;
   
   /*  
     // Multiply inverse feed_rate to compensate for the fact that this movement is approximated