Index: Common.h =================================================================== diff -u -r3567e5e388ac30a70ccf639b5257bf824d8ee135 -r403a6a992afaef19c126225b38f369eec04d2cc8 --- Common.h (.../Common.h) (revision 3567e5e388ac30a70ccf639b5257bf824d8ee135) +++ Common.h (.../Common.h) (revision 403a6a992afaef19c126225b38f369eec04d2cc8) @@ -356,6 +356,13 @@ F32 ROFlowRateWithCPsLPM; ///< RO flow rate with concentrate pumps in L/min. F32 dialysateFlowRateLPM; ///< Dialysate flow rate L/min. } FLOW_SENSORS_DATA_T; + +/// DG switch reservoirs command structure +typedef struct +{ + U32 reservoirID; ///< DG reservoir ID. + BOOL useLastTrimmerHeaterDC; ///< Use last trimmer heater duty cycle flag. +} DG_SWITCH_RSRVRS_CMD_T; #pragma pack(pop) // **** VectorCAST Definitions **** Index: RTC.c =================================================================== diff -u -r9113cdc88dd46633aaac47652e93e12396c843bf -r403a6a992afaef19c126225b38f369eec04d2cc8 --- RTC.c (.../RTC.c) (revision 9113cdc88dd46633aaac47652e93e12396c843bf) +++ RTC.c (.../RTC.c) (revision 403a6a992afaef19c126225b38f369eec04d2cc8) @@ -801,23 +801,23 @@ if ( controlReg1 & RTC_REG_1_12_HOUR_MODE_MASK ) { - hasReg1Failed = FALSE; + hasReg1Failed = TRUE; } if ( controlReg1 & RTC_REG_1_PORO ) { - hasReg1Failed = FALSE; + hasReg1Failed = TRUE; } if ( controlReg1 & RTC_REG_1_CLK_STOPPED_MASK ) { - hasReg1Failed = FALSE; + hasReg1Failed = TRUE; } if ( controlReg1 & RTC_REG_1_UNUSED_MASK ) { - hasReg1Failed = FALSE; + hasReg1Failed = TRUE; } if ( controlReg1 & RTC_REG_1_EXT_CLK_MODE_MASK ) { - hasReg1Failed = FALSE; + hasReg1Failed = TRUE; } if ( controlReg3 & RTC_REG_3_BLF_MASK ) {