Index: firmware/App/Controllers/ROPump.c =================================================================== diff -u -r16a65b53941177fb79af9a262740da5f992f4776 -r518fb519933260477ba20118744399f94ac1a632 --- firmware/App/Controllers/ROPump.c (.../ROPump.c) (revision 16a65b53941177fb79af9a262740da5f992f4776) +++ firmware/App/Controllers/ROPump.c (.../ROPump.c) (revision 518fb519933260477ba20118744399f94ac1a632) @@ -65,8 +65,6 @@ #define FLOW_AVERAGE_MULTIPLIER (1.0 / (F32)FLOW_SAMPLES_TO_AVERAGE) ///< Optimization - multiplying is faster than dividing #define FLOW_VERIFICATION_COUNTER_TARGET 40U ///< The time in counts to check the flow and make sure it is in range -//#define ROP_PSI_TO_PWM_DC(p) ( 0.2 + ( (F32)((p) - 100) * 0.01 ) ) //TODO remove ///< conversion factor from target PSI to PWM duty cycle estimate TODO - this is a place holder for real conversion - #define RO_FLOW_ADC_TO_LPM_FACTOR 10909.0909 ///< conversion factor from ADC counts to LPM (liters/min) for RO flow rate (multiply this by inverse of FPGA reading). // Initial PWM for the requested flow rate. It is assumed that 100% duty cycle will provide 1.2 LPM