aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-05-11 19:29:37 +0300
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-05-11 19:29:37 +0300
commit998a39044725968bcf4aad37de5891bb4cbaa2fb (patch)
treeb5fc8224129c46e0f403989b055be8f7d9c14d1c
parent0eb3390c9e8620a510061927279178fda6c81ac3 (diff)
downloadSimpleMotionV2-998a39044725968bcf4aad37de5891bb4cbaa2fb.tar.gz
SimpleMotionV2-998a39044725968bcf4aad37de5891bb4cbaa2fb.zip
Add definitions for motor sound notifications
-rw-r--r--simplemotion_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index f7bb19d..8a8b68c 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -437,6 +437,7 @@
#define FLAG_USE_HALLS BV(14) /*becoming obsolete, no effect on device where param SMP_COMMUTATION_SENSOR_CONFIG is present */
#define FLAG_MECH_BRAKE_DURING_PHASING BV(15)
#define FLAG_LIMIT_SWITCHES_NORMALLY_OPEN_TYPE BV(16)
+ #define FLAG_ENABLE_MOTOR_SOUND_NOTIFICATIONS BV(17)
#define SMP_MOTION_FAULT_THRESHOLD 568
#define SMP_HV_VOLTAGE_HI_LIMIT 569
#define SMP_HV_VOLTAGE_LOW_LIMIT 570
@@ -783,6 +784,7 @@
#define DEVICE_CAPABILITY2_ANALOG_OUTPUT BV(6)
#define DEVICE_CAPABILITY2_SCOPE_TRIGGER_DELAY BV(7) /*also means that params SMP_CAPTURE_BEFORE_TRIGGER_PERCENTS and SMP_CAPTURE_STATE exist */
#define DEVICE_CAPABILITY2_SCOPE_EXTERNAL_TRIGGER BV(8)
+ #define DEVICE_CAPABILITY2_SOUND_NOTIFICATIONS_FROM_MOTOR BV(9)
#define SMP_FIRMWARE_VERSION 6010
#define SMP_FIRMWARE_BACKWARDS_COMP_VERSION 6011