From ba6b2a32db48ccd6decfcdb3c42c92691915b32d Mon Sep 17 00:00:00 2001 From: Tero Kontkanen Date: Mon, 30 Jan 2017 01:01:52 +0200 Subject: Rename FLAG_USE_HALLS to FLAG_USE_COMMUTATION_SENSOR (backwards compatible change) --- simplemotion_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3