aboutsummaryrefslogtreecommitdiffstats
path: root/src/policy_manager/zipc/dummy_stm.h
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-06-20 22:17:03 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-06-20 22:17:03 +0900
commit5ea38c92ac6cb61fe108b7962ab4e2b71df06f05 (patch)
tree882ff8c057f501a5af4dd5d5ef1ff7405fed5a33 /src/policy_manager/zipc/dummy_stm.h
parentac6a264383ea7846433057450242b126f2b459db (diff)
Replace word "is_changed" to "changed"
Change-Id: I86a64c98f97ba9f7c2fd8ee294c29b073329be25 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/policy_manager/zipc/dummy_stm.h')
-rw-r--r--src/policy_manager/zipc/dummy_stm.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/policy_manager/zipc/dummy_stm.h b/src/policy_manager/zipc/dummy_stm.h
index 4c4a980..3c80310 100644
--- a/src/policy_manager/zipc/dummy_stm.h
+++ b/src/policy_manager/zipc/dummy_stm.h
@@ -24,31 +24,31 @@
#define STM_FALSE 0
// Event number
-#define STM_EVT_NO_ACTIVATE 0x02
-#define STM_EVT_NO_DEACTIVATE 0x03
-#define STM_EVT_NO_TRANS_GEAR_N 0x04
-#define STM_EVT_NO_TRANS_GEAR_NOT_N 0x05
-#define STM_EVT_NO_PARKING_BRAKE_OFF 0x06
-#define STM_EVT_NO_PARKING_BRAKE_ON 0x07
-#define STM_EVT_NO_ACCEL_PEDAL_OFF 0x08
-#define STM_EVT_NO_ACCEL_PEDAL_ON 0x09
-#define STM_EVT_NO_TIMER_EXPIRED 0x0A
-#define STM_EVT_NO_LAMP_OFF 0x0B
-#define STM_EVT_NO_LAMP_ON 0x0C
-#define STM_EVT_NO_LIGHTSTATUS_BRAKE_OFF 0x0D
-#define STM_EVT_NO_LIGHTSTATUS_BRAKE_ON 0x0E
-#define STM_EVT_NO_RESTRICTION_MODE_OFF 0x0F
-#define STM_EVT_NO_RESTRICTION_MODE_ON 0x10
+#define STM_EVT_NO_ACTIVATE 0x01
+#define STM_EVT_NO_DEACTIVATE 0x02
+#define STM_EVT_NO_TRANS_GEAR_N 0x03
+#define STM_EVT_NO_TRANS_GEAR_NOT_N 0x04
+#define STM_EVT_NO_PARKING_BRAKE_OFF 0x05
+#define STM_EVT_NO_PARKING_BRAKE_ON 0x06
+#define STM_EVT_NO_ACCEL_PEDAL_OFF 0x07
+#define STM_EVT_NO_ACCEL_PEDAL_ON 0x08
+#define STM_EVT_NO_TIMER_EXPIRED 0x09
+#define STM_EVT_NO_LAMP_OFF 0x0A
+#define STM_EVT_NO_LAMP_ON 0x0B
+#define STM_EVT_NO_LIGHTSTATUS_BRAKE_OFF 0x0C
+#define STM_EVT_NO_LIGHTSTATUS_BRAKE_ON 0x0D
+#define STM_EVT_NO_RESTRICTION_MODE_OFF 0x0E
+#define STM_EVT_NO_RESTRICTION_MODE_ON 0x0F
// Category number
-#define STM_CTG_NO_HOMESCREEN 0x0200
-#define STM_CTG_NO_MAP 0x0300
-#define STM_CTG_NO_GENERAL 0x0400
-#define STM_CTG_NO_SPLITABLE 0x0500
-#define STM_CTG_NO_POPUP 0x0600
-#define STM_CTG_NO_SYSTEM_ALERT 0x0700
-#define STM_CTG_NO_RESTRICTION 0x0800
-#define STM_CTG_NO_SYSTEM 0x0900
+#define STM_CTG_NO_HOMESCREEN 0x0100
+#define STM_CTG_NO_MAP 0x0200
+#define STM_CTG_NO_GENERAL 0x0300
+#define STM_CTG_NO_SPLITABLE 0x0400
+#define STM_CTG_NO_POPUP 0x0500
+#define STM_CTG_NO_SYSTEM_ALERT 0x0600
+#define STM_CTG_NO_RESTRICTION 0x0700
+#define STM_CTG_NO_SYSTEM 0x0800
// Area number
#define STM_ARA_NO_NONE 0x010000
@@ -215,7 +215,7 @@ extern const char** gStmCarStateNameList[];
// Struct for state
typedef struct stm_base_state_ {
- int is_changed;
+ int changed;
int state;
} stm_base_state;