aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-02-01 14:03:08 +0200
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-02-01 14:03:08 +0200
commited98f0292d7510141fdb754c249719f11efba3d9 (patch)
treeec244eae67c0fb1cadb26577e6b92718f18769fa
parent991845467391138bbb1200d76fc7a97f5a2f4cd5 (diff)
downloadSimpleMotionV2-ed98f0292d7510141fdb754c249719f11efba3d9.tar.gz
SimpleMotionV2-ed98f0292d7510141fdb754c249719f11efba3d9.zip
Restore mistakenly commented-out definitionsfeature/new_commutation_sensor_calibration
-rw-r--r--simplemotion_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 51e4123..0a4e779 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -431,8 +431,8 @@
#define FLAG_ALLOW_VOLTAGE_CLIPPING BV(10)
#define FLAG_USE_INPUT_LP_FILTER BV(11)
#define FLAG_USE_PID_CONTROLLER BV(12)//PIV is the default if bit is 0/*obsolete*/
- //#define FLAG_INVERTED_HALLS BV(13) /*becoming obsolete, no effect on device where param SMP_COMMUTATION_SENSOR_CONFIG is present */
- //#define FLAG_USE_HALLS BV(14) /*becoming obsolete, no effect on device where param SMP_COMMUTATION_SENSOR_CONFIG is present */
+ #define FLAG_INVERTED_HALLS BV(13) /*becoming obsolete, no effect on device where param SMP_COMMUTATION_SENSOR_CONFIG is present */
+ #define FLAG_USE_HALLS BV(14) /*becoming obsolete, no effect on device where param SMP_COMMUTATION_SENSOR_CONFIG is present */
#define FLAG_MECH_BRAKE_DURING_PHASING BV(15)
#define FLAG_LIMIT_SWITCHES_NORMALLY_OPEN_TYPE BV(16)
#define SMP_MOTION_FAULT_THRESHOLD 568