From fdec7c0e027b3e9f4c7fd977ee846291bb86617d Mon Sep 17 00:00:00 2001 From: Tero Kontkanen Date: Tue, 31 Jan 2017 21:52:16 +0200 Subject: Revert "Rename FLAG_USE_HALLS to FLAG_USE_COMMUTATION_SENSOR (backwards compatible change)" This reverts commit ba6b2a32db48ccd6decfcdb3c42c92691915b32d. --- simplemotion_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3