Просмотр исходного кода

Changes some data types used in CipMessgeRouterRequest to Cip* data types

capxilinx 10 лет назад
Родитель
Сommit
9c51df0d8a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      source/src/cip/ciptypes.h

+ 2 - 2
source/src/cip/ciptypes.h

@@ -244,10 +244,10 @@ typedef struct {
  *
  */
 typedef struct {
-  EipUint8 service;
+  CipUsint service;
   CipEpath request_path;
   EipInt16 data_length;
-  EipUint8 *data;
+  CipOctet *data;
 } CipMessageRouterRequest;
 
 #define MAX_SIZE_OF_ADD_STATUS 2 /* for now we support extended status codes up to 2 16bit values there is mostly only one 16bit value used */