merge with CanFestival-3-asc
authorEdouard Tisserant
Sat, 04 Feb 2012 01:38:15 +0100
changeset 712 d1ccff139c17
parent 710 e7a45c77d6ec (current diff)
parent 711 4b64e17396af (diff)
child 714 ab83333fee78
merge with CanFestival-3-asc
src/pdo.c
src/sdo.c
--- a/src/pdo.c	Sat Feb 04 01:33:16 2012 +0100
+++ b/src/pdo.c	Sat Feb 04 01:38:15 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	Sat Feb 04 01:33:16 2012 +0100
+++ b/src/sdo.c	Sat Feb 04 01:38:15 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);