Commit 3560d30d authored by Claes Sjofors's avatar Claes Sjofors

rt_sim added to startup

parent 42547d4e
......@@ -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;
......
......@@ -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
!/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment