Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -r8f8776e48894e31cba816ebef2edf96d14306ba8 -r4a41a54d255afc5cef0599e2a832927ed2b0ee5d --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 8f8776e48894e31cba816ebef2edf96d14306ba8) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 4a41a54d255afc5cef0599e2a832927ed2b0ee5d) @@ -104,7 +104,7 @@ // ********** private data ********** static DIAL_IN_PUMP_STATE_T dialInPumpState = DIAL_IN_PUMP_OFF_STATE; // current state of dialIn flow controller state machine -static U32 dialInFlowDataPublicationTimerCounter = 0; // used to schedule dialIn flow data publication to CAN bus +static U32 dialInFlowDataPublicationTimerCounter = 5; // used to schedule dialIn flow data publication to CAN bus static BOOL isDialInPumpOn = FALSE; // dialIn pump is currently running static F32 dialInPumpPWMDutyCyclePct = 0.0; // initial dialIn pump PWM duty cycle static F32 dialInPumpPWMDutyCyclePctSet = 0.0; // currently set dialIn pump PWM duty cycle @@ -633,7 +633,7 @@ // TODO - temporary debug code - remove later char debugFlowStr[ 256 ]; - sprintf( debugFlowStr, "Target Flow:%5d, Meas. Flow:%5d, Speed:%5d RPM, Current:%5d mA, PWM:%5d \n", flowStPt, (S32)measFlow, (S32)measMCSpd, (S32)measMCCurr, (S32)pumpPWMPctDutyCycle ); + sprintf( debugFlowStr, "Dial. Set Pt:%5d, Meas. Flow:%5d, Speed:%5d RPM, Current:%5d mA, PWM:%5d \n", flowStPt, (S32)measFlow, (S32)measMCSpd, (S32)measMCCurr, (S32)pumpPWMPctDutyCycle ); sendDebugData( (U08*)debugFlowStr, strlen(debugFlowStr) ); #endif broadcastDialInFlowData( flowStPt, measFlow, measRotSpd, measSpd, measMCSpd, measMCCurr, pumpPWMPctDutyCycle );