Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r2496e9225fa1b2c627d625def02515a0f0dd5793 -rdea90cb6d941a0d70c1666a11a0199e147dea764 --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 2496e9225fa1b2c627d625def02515a0f0dd5793) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision dea90cb6d941a0d70c1666a11a0199e147dea764) @@ -46,6 +46,7 @@ // manage data received from other sub-systems execSystemCommRx(); +#ifndef CAN_TEST // manage RO pump execROPumpController(); @@ -57,10 +58,23 @@ // manage time-based reservoir tasks execReservoirs(); - +#endif // run operation mode state machine execOperationModes(); +#ifdef CAN_TEST + { // send test msg every 100ms + static U32 canTestCtr = 0; + static U32 canTestMsgCtr = 0; + if ( ++canTestCtr >= 2 ) + { + if ( ++canTestMsgCtr <= 23076) + broadcastCANTest1LargeFrequentMessage(); + canTestCtr = 0; + } + } +#endif + // manage data to be transmitted to other sub-systems execSystemCommTx();