minor modification on two MSG_ERR
authorMongo
Wed, 01 Feb 2012 15:55:45 +0100
changeset 711 4b64e17396af
parent 672 3bbc9aeba925
child 712 d1ccff139c17
child 717 cfb4f62f35af
minor modification on two MSG_ERR
src/pdo.c
src/sdo.c
--- a/src/pdo.c	Thu Dec 15 14:51:20 2011 +0100
+++ b/src/pdo.c	Wed Feb 01 15:55:45 2012 +0100
@@ -89,7 +89,7 @@
             {
               MSG_ERR (0x1013,
                        " Couldn't find mapped variable at index-subindex-size : ",
-                       (UNS16) (*pMappingParameter));
+                       (UNS32) (*pMappingParameter));
               return 0xFF;
             }
           /* copy bit per bit in little endian */
--- a/src/sdo.c	Thu Dec 15 14:51:20 2011 +0100
+++ b/src/sdo.c	Wed Feb 01 15:55:45 2012 +0100
@@ -1841,7 +1841,7 @@
 		CliNbr++;
 	} /* end while */
 	if (!SDOfound) {
-		MSG_ERR(0x1AC9, "SDO. Error. No client found to communicate with node : ", nodeId);
+		MSG_WAR(0x1AC9, "SDO No preset client found to communicate with node : ", nodeId);
 		return 0xFE;
 	}
 	MSG_WAR(0x3AD0,"        SDO client defined at index  : ", 0x1280 + CliNbr);