![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
distribution-201229
Diff: setting.h
- Revision:
- 17:1865016ca2e7
- Parent:
- 16:903b5a4433b4
- Child:
- 18:b8adf1582ea3
diff -r 903b5a4433b4 -r 1865016ca2e7 setting.h --- a/setting.h Mon Sep 02 13:32:33 2019 +0000 +++ b/setting.h Tue Sep 03 11:59:55 2019 +0000 @@ -108,9 +108,9 @@ extern uint8_t SETTING_SWITCH_OLD; extern uint8_t REFERENCE_MODE; extern uint16_t CAN_FREQ; -extern uint8_t DIR_JOINT_ENC; -extern uint8_t DIR_VALVE; -extern uint8_t DIR_VALVE_ENC; +extern int16_t DIR_JOINT_ENC; +extern int16_t DIR_VALVE; +extern int16_t DIR_VALVE_ENC; extern double SUPPLY_VOLTAGE; extern double VALVE_VOLTAGE_LIMIT; @@ -235,7 +235,7 @@ extern int VALVE_INPUT_PWM; extern double VALVE_GAIN_LPM_PER_V[10]; -extern double VALVE_POS_VS_PWM[18]; +extern double VALVE_POS_VS_PWM[25]; extern long JOINT_VEL[100]; extern int VALVE_MAX_POS;