asdgas

Dependencies:   mbed Eigen FastPWM

Revision:
12:6f2531038ea4
Parent:
11:82d8768d7351
Child:
14:8e7590227d22
diff -r 82d8768d7351 -r 6f2531038ea4 CAN/function_CAN.h
--- a/CAN/function_CAN.h	Fri Aug 23 12:28:08 2019 +0000
+++ b/CAN/function_CAN.h	Tue Aug 27 05:32:44 2019 +0000
@@ -136,7 +136,7 @@
 #define             CTX_VALVE_POS_NUM                           45
 
 // Sensor & State Transmission
-void CAN_TX_POSITION(long t_pos, long t_vel);
+void CAN_TX_POSITION(int32_t t_pos, int32_t t_vel);
 void CAN_TX_TORQUE(int16_t t_torque);
 void CAN_TX_PRES(int16_t t_pres_a, int16_t t_pres_b);
 void CAN_TX_PWM(int16_t t_pwm);
@@ -174,9 +174,9 @@
 void CAN_TX_REFENCE_MODE(void);
 void CAN_TX_HOMEPOS_OFFSET(void);
 void CAN_TX_HOMPOS_VALVE_OPENING(void);
-void CAN_TX_VALVE_PWM_VS_VALVE_POS(char canindex);
+void CAN_TX_VALVE_PWM_VS_VALVE_POS(int8_t canindex);
 void CAN_TX_DDV_VALVE_DEADZONE(void);
-void CAN_TX_VALVE_POS_VS_FLOWRATE(char canindex);
+void CAN_TX_VALVE_POS_VS_FLOWRATE(int8_t canindex);
 void CAN_TX_VALVE_POS_NUM(void);
 
 class State