Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r070554b23739bf16ea2bf9528ebabda1ce0ffeb3 -r941afbaab7fc86f40fa49f9d110d481f65b44b68 --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 070554b23739bf16ea2bf9528ebabda1ce0ffeb3) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 941afbaab7fc86f40fa49f9d110d481f65b44b68) @@ -32,8 +32,6 @@ // ********** private data ********** -static BOOL uiHasCheckedIn = FALSE; - /************************************************************************* * @brief taskGeneral * The taskGeneral function handles the scheduled General Task interrupt.\n @@ -54,7 +52,7 @@ execSystemCommRx(); // prevent most processing until UI has started communicating - if ( TRUE == uiHasCheckedIn ) + if ( TRUE == uiCommunicated() ) { // control blood pump execBloodFlowController(); @@ -87,10 +85,6 @@ // manage data to be transmitted to other sub-systems execSystemCommTx(); } - else - { - uiHasCheckedIn = uiCommunicated(); - } // toggle GPIO to indicate general task has executed // gioToggleBit( gioPORTB, 1 );