MIT Motor FOC Control
Diff: Config/user_config.h
- Revision:
- 37:c0f352d6e8e3
- Parent:
- 28:8c7e29f719c5
- Child:
- 51:6cd89bd6fcaa
--- a/Config/user_config.h Fri Mar 02 15:24:00 2018 +0000 +++ b/Config/user_config.h Fri Apr 13 13:50:54 2018 +0000 @@ -16,7 +16,8 @@ #define CAN_ID __int_reg[1] // CAN bus ID #define CAN_MASTER __int_reg[2] // CAN bus "master" ID #define CAN_TIMEOUT __int_reg[3] // CAN bus timeout period -#define ENCODER_LUT __int_reg[4] // Encoder offset LUT - 128 elements long +#define ENCODER_LUT __int_reg[5] // Encoder offset LUT - 128 elements long + extern float __float_reg[];