Implement endstops using new motion control
[clinton/Smoothieware.git] / src / modules / communication / GcodeDispatch.cpp
index 17eed0c..72cabf2 100644 (file)
@@ -196,7 +196,7 @@ try_again:
                                 }
                             }
                             // makes it handle the parameters as a machine position
-                            THEKERNEL->robot->next_command_is_MCS= true;
+                            THEROBOT->next_command_is_MCS= true;
 
                         }