Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r850f8042a02fd17ee53b8db24bc2e3d17bbb9c7f -r5acce83ec629eff9621c0193fae57b7b63ad8de8 --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 850f8042a02fd17ee53b8db24bc2e3d17bbb9c7f) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 5acce83ec629eff9621c0193fae57b7b63ad8de8) @@ -1,14 +1,45 @@ -/* - * TaskGeneral.c - * - * Created on: Jul 31, 2024 - * Author: fw - */ +/************************************************************************** +* +* Copyright (c) 2024-2026 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 TaskGeneral.c +* +* @author (last) Dara Navaei +* @date (last) 21-Jan-2026 +* +* @author (original) Dara Navaei +* @date (original) 01-Aug-2024 +* +***************************************************************************/ #include "BLCommon.h" +#include "OperationModes.h" #include "TaskGeneral.h" +/** + * @addtogroup TaskGeneral + * @{ + */ + +// ********** private data ********** + +/*********************************************************************//** + * @brief + * The taskGeneral function handles the scheduled General Task interrupt. + * Calls the executive functions for most monitors and controllers, the + * operation modes. + * @details \b Inputs: none + * @details \b Outputs: Executive functions running in general task are called. + * @return none + *************************************************************************/ void taskGeneral( void ) { - BOOL test; + execOperationModes(); + + // TODo add watchdog } + +/**@}*/