summaryrefslogtreecommitdiff
path: root/common_modules/module_lib/src/txm_timer_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'common_modules/module_lib/src/txm_timer_create.c')
-rw-r--r--common_modules/module_lib/src/txm_timer_create.c82
1 files changed, 43 insertions, 39 deletions
diff --git a/common_modules/module_lib/src/txm_timer_create.c b/common_modules/module_lib/src/txm_timer_create.c
index 7e9958fd..d2a1f18f 100644
--- a/common_modules/module_lib/src/txm_timer_create.c
+++ b/common_modules/module_lib/src/txm_timer_create.c
@@ -22,53 +22,56 @@
#define TXM_MODULE
#include "txm_module.h"
-
-/**************************************************************************/
-/* */
-/* FUNCTION RELEASE */
-/* */
-/* _txe_timer_create PORTABLE C */
-/* 6.1 */
+#ifndef TXM_TIMER_CREATE_CALL_NOT_USED
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _txe_timer_create PORTABLE C */
+/* 6.1.10 */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
/* */
-/* DESCRIPTION */
-/* */
-/* This function checks for errors in the create application timer */
-/* function call. */
-/* */
-/* INPUT */
-/* */
-/* timer_ptr Pointer to timer control block */
-/* name_ptr Pointer to timer name */
-/* expiration_function Application expiration function */
-/* initial_ticks Initial expiration ticks */
-/* reschedule_ticks Reschedule ticks */
-/* auto_activate Automatic activation flag */
+/* DESCRIPTION */
+/* */
+/* This function checks for errors in the create application timer */
+/* function call. */
+/* */
+/* INPUT */
+/* */
+/* timer_ptr Pointer to timer control block */
+/* name_ptr Pointer to timer name */
+/* expiration_function Application expiration function */
+/* initial_ticks Initial expiration ticks */
+/* reschedule_ticks Reschedule ticks */
+/* auto_activate Automatic activation flag */
/* timer_control_block_size Size of timer control block */
-/* */
-/* OUTPUT */
-/* */
-/* TX_TIMER_ERROR Invalid timer control block */
-/* TX_TICK_ERROR Invalid initial expiration count */
-/* TX_ACTIVATE_ERROR Invalid timer activation option */
-/* TX_CALLER_ERROR Invalid caller of this function */
-/* status Actual completion status */
-/* */
-/* CALLS */
-/* */
+/* */
+/* OUTPUT */
+/* */
+/* TX_TIMER_ERROR Invalid timer control block */
+/* TX_TICK_ERROR Invalid initial expiration count */
+/* TX_ACTIVATE_ERROR Invalid timer activation option */
+/* TX_CALLER_ERROR Invalid caller of this function */
+/* status Actual completion status */
+/* */
+/* CALLS */
+/* */
/* _txm_module_kernel_call_dispatcher */
-/* */
-/* CALLED BY */
-/* */
-/* Module application code */
-/* */
-/* RELEASE HISTORY */
-/* */
+/* */
+/* CALLED BY */
+/* */
+/* Module application code */
+/* */
+/* RELEASE HISTORY */
+/* */
/* DATE NAME DESCRIPTION */
/* */
-/* 09-30-2020 Scott Larson Initial Version 6.1 */
+/* 09-30-2020 Scott Larson Initial Version 6.1 */
+/* 01-31-2022 Scott Larson Modified comments and added */
+/* CALL_NOT_USED option, */
+/* resulting in version 6.1.10 */
/* */
/**************************************************************************/
UINT _txe_timer_create(TX_TIMER *timer_ptr, CHAR *name_ptr, VOID (*expiration_function)(ULONG), ULONG expiration_input, ULONG initial_ticks, ULONG reschedule_ticks, UINT auto_activate, UINT timer_control_block_size)
@@ -90,3 +93,4 @@ ALIGN_TYPE extra_parameters[6];
/* Return value to the caller. */
return(return_value);
}
+#endif