aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero K <tero.k@granitedevices.fi>2016-01-19 13:14:11 +0200
committerTero K <tero.k@granitedevices.fi>2016-01-19 13:14:19 +0200
commit1703c1552098657781331a9bf390d08b9b893719 (patch)
tree33fd787ce92f44aeaebd7a1f426518cf76d26ff5
parent2ce73dbccca8b14e8483ee491b78a0447ef56036 (diff)
downloadSimpleMotionV2-1703c1552098657781331a9bf390d08b9b893719.tar.gz
SimpleMotionV2-1703c1552098657781331a9bf390d08b9b893719.zip
Added CURR_LIMIT_REASON_POWER_CAP 5
-rw-r--r--simplemotion_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 475d55b..9094f0c 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -703,6 +703,7 @@
#define CURR_LIMIT_REASON_SETTINGS 2
#define CURR_LIMIT_REASON_I2T 3
#define CURR_LIMIT_REASON_DRIVE_TEMPERATURE 4
+ #define CURR_LIMIT_REASON_POWER_CAP 5
/*IO side CPU sends encoder counter at index every time index is encountered. homing uses this info */
#define SMP_INDEX_PULSE_LOCATION 8005