change to be like dbca
This commit is contained in:
@@ -146,13 +146,15 @@ LOCAL void eventCallback(struct event_handler_args arg)
|
||||
|
||||
LOCAL void asCaTask(void)
|
||||
{
|
||||
static const int enablePreemption = 1;
|
||||
ASG *pasg;
|
||||
ASGINP *pasginp;
|
||||
CAPVT *pcapvt;
|
||||
int status;
|
||||
|
||||
taskwdInsert(threadGetIdSelf(),NULL,NULL);
|
||||
SEVCHK(ca_task_initialize(),"ca_task_initialize");
|
||||
SEVCHK(ca_context_create(enablePreemption),
|
||||
"asCaTask calling ca_context_create");
|
||||
SEVCHK(ca_add_exception_event(exceptionCallback,NULL),
|
||||
"ca_add_exception_event");
|
||||
while(TRUE) {
|
||||
|
||||
Reference in New Issue
Block a user