a.binder 5 anni fa
parent
commit
9512d0d487

+ 2 - 2
SE/stuff/P5_Automation_can-dev-res/_CAN/_Slave_Ports_Protocol_CAN_struct.h

@@ -51,7 +51,7 @@ const int _CAN_8_EMPTY = 0x07 ;
   Exp_state_T  Exp_state;    //5
   int  Exp_state_ttl;  //6
   int  Broadcast_state;  //7
-  const int _CAN_8 = TASK_TYPE_T_Slave_Ports_broadcast____ ; // _CAN_8_EMPTY  ; //0x07 ; //8 - nbot used
+  const int _CAN_8 = int(TASK_TYPE_T_Slave_Ports_broadcast____ ) ; // _CAN_8_EMPTY  ; //0x07 ; //8 - nbot used
 } ;
  
  
@@ -66,7 +66,7 @@ const int _CAN_8_EMPTY = 0x07 ;
   Exp_state_T  Exp_state;    //5
   int  Exp_state_ttl;  //6
   int  Broadcast_state;  //7
-  const int _CAN_8 = TASK_TYPE_T_Slave_Ports_broadcast____ ; // _CAN_8_EMPTY; //0x07 ; //8 - nbot used
+  const int _CAN_8 = int(TASK_TYPE_T_Slave_Ports_broadcast____) ; // _CAN_8_EMPTY; //0x07 ; //8 - nbot used
 } ;