Index: firmware/App/Tasks/TaskBG.c =================================================================== diff -u -rb64c49fdcf2b6d95e61e63f8e258c4e600935bbd -r7d4711edd7b40cd3e29f43e766f79a8a09586fe9 --- firmware/App/Tasks/TaskBG.c (.../TaskBG.c) (revision b64c49fdcf2b6d95e61e63f8e258c4e600935bbd) +++ firmware/App/Tasks/TaskBG.c (.../TaskBG.c) (revision 7d4711edd7b40cd3e29f43e766f79a8a09586fe9) @@ -1,31 +1,37 @@ -/************************************************************************** - * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. - * - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN - * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * - * @file TaskTimer.c - * - * @date 20-Sep-2019 - * @author S. Nash - * - * @brief Timer task handler. - * - **************************************************************************/ +/************************************************************************** +* +* Copyright (c) 2019-2024 Diality Inc. - All Rights Reserved. +* +* THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +* WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +* +* @file TaskBG.c +* +* @author (last) Dara Navaei +* @date (last) 02-Feb-2021 +* +* @author (original) Dara Navaei +* @date (original) 05-Nov-2019 +* +***************************************************************************/ #include "gio.h" - -#include "WatchdogMgmt.h" + +#include "NVDataMgmt.h" #include "TaskTimer.h" +#include "WatchdogMgmt.h" + +/** + * @addtogroup TaskBG + * @{ + */ -/************************************************************************* - * @brief taskBackground - * The taskBackground function handles the idle Background Task loop. - * Calls the Watchdog Mgmt. and NonVolatile Data services. - * @details - * Inputs : none - * Outputs : Executive for watchdog mgmt. and non-volatile data services called. +/*********************************************************************//** + * @brief + * The taskBackground function handles the idle background task loop. + * @details Inputs: none + * @details Outputs: Executes the watchdog manangement service + * return none *************************************************************************/ void taskBackground( void ) { @@ -34,7 +40,11 @@ #endif { // manage the watchdog - execWatchdogMgmt(); + execWatchdogMgmt(); + + // Manage Non-volatile data manager + execNVDataMgmt(); } } +/**@}*/