Fixed typo in objacces.c bigendian side.
authoretisserant
Fri, 21 Mar 2008 09:51:21 +0100
changeset 430 61a24423589c
parent 429 7cba38279f98
child 431 166037b8f2ed
Fixed typo in objacces.c bigendian side.
src/objacces.c
--- a/src/objacces.c	Thu Mar 20 15:44:35 2008 +0100
+++ b/src/objacces.c	Fri Mar 21 09:51:21 2008 +0100
@@ -142,9 +142,9 @@
      (*pDataType >= visible_string && *pExpectedSize < szData)) { 
 
 #  ifdef CANOPEN_BIG_ENDIAN
-     if(endianize && dataType > boolean && !(
-            dataType >= visible_string && 
-            domain <= dataType)) {
+     if(endianize && *pDataType > boolean && !(
+            *pDataType >= visible_string && 
+            domain <= *pDataType)) {
       /* data must be transmited with low byte first */
       UNS8 i, j = 0;
       MSG_WAR(boolean, "data type ", *pDataType);