/************************************************************************** * * Copyright (c) 2019-2025 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 "NVDataMgmt.h" #include "TaskTimer.h" #include "WatchdogMgmt.h" /** * @addtogroup TaskBG * @{ */ /*********************************************************************//** * @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 ) { #ifndef _VECTORCAST_ // can't have infinite loop in unit test tool while ( 1 ) #endif { // manage the watchdog execWatchdogMgmt(); // Manage Non-volatile data manager execNVDataMgmt(); } } /**@}*/