Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
3560d30d
Commit
3560d30d
authored
Dec 13, 2012
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt_sim added to startup
parent
42547d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/exe/rt_ini/src/ini.c
src/exe/rt_ini/src/ini.c
+4
-0
src/wbl/pwrb/src/pwrb_c_simulateconfig.wb_load
src/wbl/pwrb/src/pwrb_c_simulateconfig.wb_load
+2
-0
No files found.
src/exe/rt_ini/src/ini.c
View file @
3560d30d
...
...
@@ -136,6 +136,7 @@
# define cPrio_plc_init (cPrio_base + 5)
# define cPrio_remh (cPrio_base + 5)
# define cPrio_remotelogg (cPrio_base + 5)
# define cPrio_sim (cPrio_base + 5)
#endif
static
pwr_tBoolean
checkSect
(
pwr_tStatus
*
,
ini_sContext
*
,
int
,
int
);
...
...
@@ -2123,6 +2124,9 @@ ini_ProcTable (
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sev_server"
,
"pwr_sev_server_%d"
,
0
,
1
,
"sev_server"
,
cPrio_sev_server
,
0
,
pwr_cClass_SevServer
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sim"
,
"pwr_sim_%d"
,
0
,
1
,
"rt_sim"
,
cPrio_sim
,
0
,
pwr_cClass_SimulateConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
#endif
plc_idx
=
0
;
...
...
src/wbl/pwrb/src/pwrb_c_simulateconfig.wb_load
View file @
3560d30d
...
...
@@ -75,6 +75,8 @@ SObject pwrb:Class
Object InitDone $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
EndBody
EndObject
!/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment