Index: firmware/App/Services/Reservoirs.h =================================================================== diff -u -r8b56b0c617ac49536b8d53852b9621be873bade6 -ra504d6899e709d7432af9c055db1bd1fe340d032 --- firmware/App/Services/Reservoirs.h (.../Reservoirs.h) (revision 8b56b0c617ac49536b8d53852b9621be873bade6) +++ firmware/App/Services/Reservoirs.h (.../Reservoirs.h) (revision a504d6899e709d7432af9c055db1bd1fe340d032) @@ -1,6 +1,6 @@ /**********************************************************************//** * - * Copyright (c) 2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2019-2020 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. @@ -41,11 +41,15 @@ // ********** public function prototypes ********** void initReservoirs( void ); +void execReservoirs( void ); -BOOL startFill( RESERVOIR_ID_T resID, U32 fillToVolMl, F32 targetPrimeTemp, F32 targetTrimTemp ); // handle fill command from HD -BOOL stopFill( void ); // handle stop fill command from HD -BOOL startDrain( RESERVOIR_ID_T resID, U32 drainToVolMl ); // handle drain command from HD -BOOL stopDrain( void ); // handle stop drain command from HD +BOOL setActiveReservoirCmd( RESERVOIR_ID_T resID ); // handle switch reservoirs command from HD +BOOL startFillCmd( U32 fillToVolMl ); // handle fill command from HD +BOOL stopFillCmd( void ); // handle stop fill command from HD +BOOL startDrainCmd( U32 drainToVolMl ); // handle drain command from HD +BOOL stopDrainCmd( void ); // handle stop drain command from HD +BOOL startTrimmerHeaterCmd( void ); // handle start trimmer heater control command from HD +BOOL stopTrimmerHeaterCmd( void ); // handle stop trimmer heater control command from HD DATA_GET_PROTOTYPE( RESERVOIR_ID_T, getActiveReservoir ); DATA_GET_PROTOTYPE( U32, getReservoirFillVolumeTargetMl );