aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-01-31 21:52:16 +0200
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-01-31 21:52:16 +0200
commitfdec7c0e027b3e9f4c7fd977ee846291bb86617d (patch)
treec8010b140f1bdf623bff25a29245d717823ecf92
parentba6b2a32db48ccd6decfcdb3c42c92691915b32d (diff)
downloadSimpleMotionV2-fdec7c0e027b3e9f4c7fd977ee846291bb86617d.tar.gz
SimpleMotionV2-fdec7c0e027b3e9f4c7fd977ee846291bb86617d.zip
Revert "Rename FLAG_USE_HALLS to FLAG_USE_COMMUTATION_SENSOR (backwards compatible change)"
This reverts commit ba6b2a32db48ccd6decfcdb3c42c92691915b32d.
-rw-r--r--simplemotion_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 0b1628b..026e538 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -432,7 +432,7 @@
#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_INVERT_COMMUTATION_SENSOR_DIRECTION BV(13) /*inverts direction of commutation sensor instead, used together with SMP_COMMUTATION_SENSOR_OFFSET*//*originally was: invert hall sensors digital states*/
- #define FLAG_USE_COMMUTATION_SENSOR BV(14)
+ #define FLAG_USE_HALLS BV(14)
#define FLAG_MECH_BRAKE_DURING_PHASING BV(15)
#define FLAG_LIMIT_SWITCHES_NORMALLY_OPEN_TYPE BV(16)
#define SMP_MOTION_FAULT_THRESHOLD 568