aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2015-12-18 16:53:22 +0200
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2015-12-18 16:53:22 +0200
commit5d68b4d61c13de9ee63530c1ea8bfaf32df3ce51 (patch)
treeed91ef11eb7e512d5b8aaf05062aa8a214a072f2
parent1b386308ae2523e792e467915f0a6857cf6db9b2 (diff)
downloadSimpleMotionV2-5d68b4d61c13de9ee63530c1ea8bfaf32df3ce51.tar.gz
SimpleMotionV2-5d68b4d61c13de9ee63530c1ea8bfaf32df3ce51.zip
Added flag to invert limit switch polarity
-rw-r--r--simplemotion_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 6261824..475d55b 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -421,6 +421,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 SMP_MOTION_FAULT_THRESHOLD 568
#define SMP_HV_VOLTAGE_HI_LIMIT 569
#define SMP_HV_VOLTAGE_LOW_LIMIT 570