Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -rb32dd9e582f74d0ddc106a0d0b1efa8974c08c4d -r2f2419f67d9d458837893fef5cc1b21870021026 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision b32dd9e582f74d0ddc106a0d0b1efa8974c08c4d) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 2f2419f67d9d458837893fef5cc1b21870021026) @@ -824,8 +824,22 @@ { dgCmdResp[ DG_CMD_START_FILL ].commandID = DG_CMD_NONE; dgReservoirFillVolumeTargetSet = fillToVolMl; - sendDGFillCommand( fillToVolMl ); + sendDGFillCommand( DG_CMD_START, fillToVolMl ); } + +/*********************************************************************//** + * @brief + * The cmdStopDGFill function sends a fill command with stop parameter message to the DG. + * @details Inputs: none + * @details Outputs: fill command with stop parameter sent to DG. + * @return none + *************************************************************************/ +void cmdStopDGFill( void ) +{ + dgCmdResp[ DG_CMD_STOP_FILL ].commandID = DG_CMD_NONE; + dgReservoirFillVolumeTargetSet = 0; + sendDGFillCommand( DG_CMD_STOP, 0 ); +} /*********************************************************************//** * @brief