From f2ff42d175b9df9b3242fcb924d640b72dfb91fb Mon Sep 17 00:00:00 2001 From: Tero Kontkanen Date: Thu, 1 Dec 2016 02:10:37 +0200 Subject: Changed FLAG_LIMIT_SWITCHES_NORMALLY_CLOSED_TYPE to FLAG_LIMIT_SWITCHES_NORMALLY_OPEN_TYPE. Also behavior in firmware will change. Originally it was mistakenly specified in wrong polarity because the default choice with value 0 should be closed_type. --- simplemotion_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplemotion_defs.h b/simplemotion_defs.h index 4a12a03..e30b289 100644 --- a/simplemotion_defs.h +++ b/simplemotion_defs.h @@ -430,7 +430,7 @@ #define FLAG_INVERTED_HALLS BV(13) #define FLAG_USE_HALLS BV(14) #define FLAG_MECH_BRAKE_DURING_PHASING BV(15) - #define FLAG_LIMIT_SWITCHES_NORMALLY_CLOSED_TYPE BV(16) + #define FLAG_LIMIT_SWITCHES_NORMALLY_OPEN_TYPE BV(16) #define SMP_MOTION_FAULT_THRESHOLD 568 #define SMP_HV_VOLTAGE_HI_LIMIT 569 #define SMP_HV_VOLTAGE_LOW_LIMIT 570 -- cgit v1.2.3