Index: firmware/App/Controllers/Switches.h =================================================================== diff -u -r0803f828b81e046166457564650acf6a9bbd3cc6 -r9df576f7d1962f640d8d8a4b56403431c67a8639 --- firmware/App/Controllers/Switches.h (.../Switches.h) (revision 0803f828b81e046166457564650acf6a9bbd3cc6) +++ firmware/App/Controllers/Switches.h (.../Switches.h) (revision 9df576f7d1962f640d8d8a4b56403431c67a8639) @@ -33,12 +33,12 @@ // ********** public definitions ********** /// DG doors and caps enumeration -typedef enum switches_names +typedef enum cap_names { CONCENTRATE_CAP = 0, ///< Concentrate cap DIALYSATE_CAP, ///< Dialysate cap NUM_OF_CAPS ///< Number of caps -} SWITCH_T; +} CAP_T; /// DG doors and caps data publish structure typedef struct @@ -53,7 +53,7 @@ void execSwitches( void ); -OPN_CLS_STATE_T getSwitchStatus( SWITCH_T switchId ); +OPN_CLS_STATE_T getSwitchStatus( CAP_T switchId ); BOOL testSetSwitchesDataPublishIntervalOverride( U32 value ); BOOL testResetSwitchesDataPublishIntervalOverride( void );