aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2016-12-01 02:10:37 +0200
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2016-12-01 02:10:37 +0200
commitf2ff42d175b9df9b3242fcb924d640b72dfb91fb (patch)
treedf3119098687bc02d02b57aac2ac4ae8dc212dfa
parent81d0ce7054c930a80d43884eb1ce97112011a1df (diff)
downloadSimpleMotionV2-f2ff42d175b9df9b3242fcb924d640b72dfb91fb.tar.gz
SimpleMotionV2-f2ff42d175b9df9b3242fcb924d640b72dfb91fb.zip
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.
-rw-r--r--simplemotion_defs.h2
1 files changed, 1 insertions, 1 deletions
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