Index: firmware/App/Controllers/ConcentratePumps.c =================================================================== diff -u -r256d5cb05f1ef09e19e2f2733a111f600c73a7ee -r6f2991204047ccbceeb5461f7c35af6d8f5dfd0b --- firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision 256d5cb05f1ef09e19e2f2733a111f600c73a7ee) +++ firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision 6f2991204047ccbceeb5461f7c35af6d8f5dfd0b) @@ -22,6 +22,7 @@ #include "PersistentAlarm.h" #include "SystemCommMessages.h" #include "TaskGeneral.h" +#include "Utilities.h" /** * @addtogroup ConcentratePumps @@ -447,11 +448,11 @@ *************************************************************************/ static void stopConcentratePump( CONCENTRATE_PUMPS_T pumpId ) { - concentratePumps[ pumpId ].currentPumpSpeed = 0.0; - concentratePumps[ pumpId ].measuredPumpSpeed.data = 0.0; + concentratePumps[ pumpId ].currentPumpSpeed = 0.0F; + concentratePumps[ pumpId ].measuredPumpSpeed.data = 0.0F; #ifndef _RELEASE_ - if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_ENABLE_V3_SYSTEM ) ) + if ( HW_CONFIG_BETA == getHardwareConfigStatus() ) { if ( CONCENTRATEPUMPS_CP1_ACID == pumpId ) { @@ -492,7 +493,7 @@ U08 controlSet = 0; #ifndef _RELEASE_ - if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_ENABLE_V3_SYSTEM ) ) + if ( HW_CONFIG_BETA == getHardwareConfigStatus() ) { controlSet = ( CONCENTRATE_PUMP_ON_CONTROL | concentratePumps[ pumpId ].direction ); CONCENTRATEPUMPS_CP1_ACID == pumpId ? setFPGAV3AcidPumpControl( controlSet ) : setFPGAV3BicarbPumpControl( controlSet );