Arrange to return to BSP (and likely then to bootstrap ROM) when iocsh terminates.
This commit is contained in:
1 parent
0376ee4455
commit
3620fc6de2
1 file changed
+2
-1
@@ -587,5 +587,6 @@ Init (rtems_task_argument ignored)
|
||||
epicsEnvSet ("IOC_STARTUP_SCRIPT", argv[1]);
|
||||
i = main ((sizeof argv / sizeof argv[0]) - 1, argv);
|
||||
printf ("***** IOC application terminating *****\n");
|
||||
exit (i);
|
||||
epicsThreadSleep(1.0);
|
||||
rtems_shutdown_executive(0);
|
||||
}
|
||||
Reference in new issue
Block a user