Index: App/Tasks/TaskGeneral.c =================================================================== diff -u -r765d2c35118e202444e737c66c77faf9678cc87e -r894b734327eb6e7cfa6bf651623576bc10214195 --- App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 765d2c35118e202444e737c66c77faf9678cc87e) +++ App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 894b734327eb6e7cfa6bf651623576bc10214195) @@ -1,18 +1,18 @@ /************************************************************************* -* -* Copyright Diality, Inc. 2019-2020. All Rights Reserved. -* 181 Technology, Ste. 150 -* Irvine, CA 92618 -* -* Project Denali -* -* @file TaskGeneral.c -* -* @brief General task handler. -* -* @date 19-Sep-2019 -* -*************************************************************************/ + * + * Copyright Diality, Inc. 2019-2020. All Rights Reserved. + * 181 Technology, Ste. 150 + * Irvine, CA 92618 + * + * Project Denali + * + * @file TaskGeneral.c + * + * @brief General task handler. + * + * @date 19-Sep-2019 + * + *************************************************************************/ #include "gio.h" #include "lin.h" @@ -36,27 +36,27 @@ * Outputs : Executive for the TBD called. * @param none * @return none -*************************************************************************/ + *************************************************************************/ void taskGeneral( void ) { - // run operation mode state machine - execOperationModes(); + // run operation mode state machine + execOperationModes(); - // control alarm lamp - ExecuteAlarmLamp(); + // control alarm lamp + ExecuteAlarmLamp(); - // check in with watchdog manager - checkInWithWatchdogMgmt( TASK_GENERAL ); + // check in with watchdog manager + checkInWithWatchdogMgmt( TASK_GENERAL ); - // toggle GPIO to indicate general task has executed - gioToggleBit( gioPORTA, 0 ); - ledCounter++; + // toggle GPIO to indicate general task has executed + gioToggleBit( gioPORTA, 0 ); + ledCounter++; - // Temporary LED blinking for now - TODO: Remove this - if ( ledCounter >= 10 ) - { - ledCounter = 0; - gioToggleBit( gioPORTB, 1 ); - } + // Temporary LED blinking for now - TODO: Remove this +// if ( ledCounter >= 10 ) +// { +// ledCounter = 0; +// gioToggleBit( gioPORTB, 1 ); +// } }