blob: 23f44ed84e5c26162e7b106ecdd9cd132f6ffe32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/************************************************************/
/* Zrse1_apps_rse1_apps_func.c */
/* Function and variable source file */
/* ZIPC Designer Version 1.2.1 */
/************************************************************/
#include "../../../ZST_include.h"
/*************************************************************
Function definition
*************************************************************/
/**
* stm_rse1_apps_initialize_variable
*/
void stm_rse1_apps_initialize_variable() {
g_stm_prv_state.layer[StmLayerNoApps].state = StmLayoutNoGenNml;
g_stm_prv_state.layer[StmLayerNoApps].changed = STM_FALSE;
g_stm_crr_state.layer[StmLayerNoApps].state = StmLayoutNoGenNml;
g_stm_crr_state.layer[StmLayerNoApps].changed = STM_FALSE;
}
/**
* stm_rse1_apps_start_stm
*/
void stm_rse1_apps_start_stm() {
if (g_stm_event == StmEvtNoUndo) {
// nop
}
else {
g_stm_prv_state.layer[StmLayerNoApps].state = g_stm_crr_state.layer[StmLayerNoApps].state;
}
g_stm_crr_state.layer[StmLayerNoApps].changed = STM_FALSE;
}
/*
* @name stm_rse1_apps_start_activity_none
*/
void stm_rse1_apps_start_activity_none() {
g_stm_crr_state.layer[StmLayerNoApps].state = StmLayoutNoNone;
g_stm_crr_state.layer[StmLayerNoApps].changed = STM_TRUE;
}
/**
* stm_rse1_apps_start_activity_general
*/
void stm_rse1_apps_start_activity_general(){
g_stm_crr_state.layer[StmLayerNoApps].state = StmLayoutNoGenNml;
g_stm_crr_state.layer[StmLayerNoApps].changed = STM_TRUE;
}
|