/************************************************************************** * * 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 TaskBG.c * * @author (last) Sean * @date (last) 27-Feb-2020 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 * ***************************************************************************/ #include "gio.h" #include "WatchdogMgmt.h" #include "TaskTimer.h" /************************************************************************* * @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. *************************************************************************/ void taskBackground( void ) { #ifndef _VECTORCAST_ // can't have infinite loop in unit test tool while ( 1 ) #endif { // manage the watchdog execWatchdogMgmt(); } }