From 111b3320ece2bd33db22e2a7c59f061d23c2fbb2 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Mon, 18 Feb 2013 21:04:12 +0000 Subject: [PATCH] Change to allow building dynamically on WIN32; fixed buffer overflow error --- motorApp/ImsSrc/ImsMDrivePlusMotorAxis.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motorApp/ImsSrc/ImsMDrivePlusMotorAxis.cpp b/motorApp/ImsSrc/ImsMDrivePlusMotorAxis.cpp index 7a8880e7..954d513d 100644 --- a/motorApp/ImsSrc/ImsMDrivePlusMotorAxis.cpp +++ b/motorApp/ImsSrc/ImsMDrivePlusMotorAxis.cpp @@ -17,11 +17,11 @@ #include #include #include -#include #include #include #include "ImsMDrivePlusMotorController.h" +#include //////////////////////////////////////////////////////// //! ImsMDrivePlusMotorAxis() @@ -577,7 +577,7 @@ void ImsMDrivePlusMotorAxis::handleAxisError(char *errMsg) case 82: strcpy(errCodeString, "Went to both limits and did not find home"); break; case 83: strcpy(errCodeString, "Reached plus limit switch"); break; case 84: strcpy(errCodeString, "Reached minus limit switch"); break; - case 85: strcpy(errCodeString, "MA or MR isn't allowed during home and home isn't allowed while device is in motion"); break; + case 85: strcpy(errCodeString, "MA or MR isn't allowed during home and home isn't allowed while moving"); break; case 86: strcpy(errCodeString, "Stall detected"); break; case 87: strcpy(errCodeString, "In clock mode"); break; case 88: strcpy(errCodeString, "Following error"); break;