From 759a7379836630cc1ce460f4d4e070e0028cd4f1 Mon Sep 17 00:00:00 2001 From: Oksana Ivashkevych Date: Fri, 13 May 2022 14:40:41 -0400 Subject: [PATCH] moved code tags to exclude comments, as suggested --- modules/libcom/src/iocsh/initHooks.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/libcom/src/iocsh/initHooks.h b/modules/libcom/src/iocsh/initHooks.h index cf227b2f6..76d9fed4e 100644 --- a/modules/libcom/src/iocsh/initHooks.h +++ b/modules/libcom/src/iocsh/initHooks.h @@ -68,13 +68,14 @@ typedef enum { initHookAtEnd, /**< \brief Before initHookAfterIocRunning */ } initHookState; -/** \code {.cpp} +/** * Any functions that are registered before iocInit reaches the desired state will be called when it reaches that state. * The initHookName function returns a static string representation of the state passed into it which is intended for printing. The following skeleton code shows how to use this facility: * * static initHookFunction myHookFunction; * - *int myHookInit(void) + * \code{.cpp} + * int myHookInit(void) * { * return(initHookRegister(myHookFunction)); *} @@ -92,8 +93,8 @@ typedef enum { * break; * } * } - * An arbitrary number of functions can be registered. * \endcode + * An arbitrary number of functions can be registered. */