diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 964807555..1acdaffcc 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -908,7 +908,7 @@ static void exitCallFunc(const iocshArgBuf *) static void localRegister (void) { - iocshRegister(&commentFuncDef,helpCallFunc); + iocshRegister(&commentFuncDef,commentCallFunc); iocshRegister(&exitFuncDef,exitCallFunc); iocshRegister(&helpFuncDef,helpCallFunc); iocshRegister(&iocshCmdFuncDef,iocshCmdCallFunc);