Fork and fix for mwork

Dependencies:   mbed-dev-f303 FastPWM3 millis

Committer:
benkatz
Date:
Fri Apr 07 16:23:39 2017 +0000
Revision:
24:58c2d7571207
Parent:
23:2adf23ee0305
Child:
25:f5741040c4bb
Can flush preferences multiple times now

Who changed what in which revision?

UserRevisionLine numberNew contents of line
benkatz 23:2adf23ee0305 1 /// Values stored in flash, which are modifieable by user actions ///
benkatz 23:2adf23ee0305 2
benkatz 23:2adf23ee0305 3 #ifndef USER_CONFIG_H
benkatz 23:2adf23ee0305 4 #define USER_CONFIG_H
benkatz 23:2adf23ee0305 5
benkatz 23:2adf23ee0305 6
benkatz 23:2adf23ee0305 7 #define E_OFFSET __float_reg[0]
benkatz 23:2adf23ee0305 8 #define M_OFFSET __float_reg[1]
benkatz 23:2adf23ee0305 9 #define I_BW __float_reg[2]
benkatz 24:58c2d7571207 10 #define TORQUE_LIMIT __float_reg[3]
benkatz 23:2adf23ee0305 11
benkatz 23:2adf23ee0305 12 #define PHASE_ORDER __int_reg[0]
benkatz 23:2adf23ee0305 13 #define CAN_ID __int_reg[1]
benkatz 23:2adf23ee0305 14 #define ENCODER_LUT __int_reg[4]
benkatz 23:2adf23ee0305 15
benkatz 23:2adf23ee0305 16 extern float __float_reg[];
benkatz 23:2adf23ee0305 17 extern int __int_reg[];
benkatz 23:2adf23ee0305 18
benkatz 23:2adf23ee0305 19 #endif