diff options
| author | Tero Kontkanen <tero.kontkanen@granitedevices.fi> | 2017-01-30 01:01:52 +0200 |
|---|---|---|
| committer | Tero Kontkanen <tero.kontkanen@granitedevices.fi> | 2017-01-30 01:01:52 +0200 |
| commit | ba6b2a32db48ccd6decfcdb3c42c92691915b32d (patch) | |
| tree | 77c8178585486c8b99a2be69a61427e6d2d4b677 | |
| parent | f5eec0c446ebe7952667143dc98f3be94c2a6186 (diff) | |
| download | SimpleMotionV2-ba6b2a32db48ccd6decfcdb3c42c92691915b32d.tar.gz SimpleMotionV2-ba6b2a32db48ccd6decfcdb3c42c92691915b32d.zip | |
Rename FLAG_USE_HALLS to FLAG_USE_COMMUTATION_SENSOR (backwards compatible change)
| -rw-r--r-- | simplemotion_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h index 026e538..0b1628b 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_HALLS BV(14)
+ #define FLAG_USE_COMMUTATION_SENSOR 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
|
