fix: error C2059: syntax error at the atInitDef structure.
This commit is contained in:
committed by
Andrew Johnson
parent
43003ea18a
commit
71e86e51bd
@@ -64,10 +64,12 @@ static struct cmditem *newItem(const char *cmd)
|
||||
return item;
|
||||
}
|
||||
|
||||
static const iocshArg atInitArg0 = {"command (before iocInit)", iocshArgString};
|
||||
static const iocshArg *const atInitArgs[] = {&atInitArg0};
|
||||
static const iocshFuncDef atInitDef = {
|
||||
"atInit",
|
||||
1,
|
||||
(const iocshArg *[]){&(iocshArg){"command (before iocInit)", iocshArgString}},
|
||||
atInitArgs,
|
||||
helpMessage};
|
||||
|
||||
static void atInitFunc(const iocshArgBuf *args)
|
||||
|
||||
Reference in New Issue
Block a user