Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r6a8d904f4316ed9d9f2f14f99afde63bef38eace -rcd5be724d5a3ba7457e761191d82f278654d7f5c --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 6a8d904f4316ed9d9f2f14f99afde63bef38eace) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision cd5be724d5a3ba7457e761191d82f278654d7f5c) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2023 Diality Inc. - All Rights Reserved. +* 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 TaskGeneral.c * -* @author (last) Dara Navaei -* @date (last) 17-Oct-2022 +* @author (last) Vinayakam Mani +* @date (last) 02-Oct-2023 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -65,19 +65,21 @@ // Manage data received from other sub-systems execSystemCommRx(); - // Prevent most processing until UI has started communicating - if ( TRUE == uiCommunicated() ) + // Prevent most processing until UI has started communicating or if DG is active and alarm (ALARM_ID_HD_UI_COMM_POST_FAILED) is raised + // proceed to further operations since UI likely failed to come up. + if ( ( TRUE == uiCommunicated() ) || + ( ( FALSE == isHDOnlyCANNode() ) && ( TRUE == isAlarmActive( ALARM_ID_HD_UI_COMM_POST_FAILED ) ) ) ) { #ifndef BOARD_WITH_NO_HARDWARE + // Monitor voltages + execVoltagesMonitor(); + // Monitor DG execDGInterfaceMonitor(); // Monitor pressure/occlusion sensors execPresOccl(); - // Monitor voltages - execVoltagesMonitor(); - // Monitor switches execSwitches();