Index: firmware/App/Controllers/ROPump.c =================================================================== diff -u -r644186b74908ecb1c61a2af06a2bfb43b5618c8e -rf9d0e15ba8e25a69666ed0231721ea58e2145f2f --- firmware/App/Controllers/ROPump.c (.../ROPump.c) (revision 644186b74908ecb1c61a2af06a2bfb43b5618c8e) +++ firmware/App/Controllers/ROPump.c (.../ROPump.c) (revision f9d0e15ba8e25a69666ed0231721ea58e2145f2f) @@ -54,9 +54,9 @@ #define ROP_PRESSURE_TO_PWM_INTERCEPT 0.0F ///< Intercept of pressure to PWM line equation. #define DATA_PUBLISH_COUNTER_START_COUNT 10 ///< Data publish counter start count. -///< PWM line equation for pressure. converted to percentage. +/// PWM line equation for pressure. converted to percentage. #define ROP_PRESSURE_TO_PWM_PCT(pres) ( ( ROP_PRESSURE_TO_PWM_SLOPE * pres + ROP_PRESSURE_TO_PWM_INTERCEPT ) / MAX_FLUID_PUMP_PWM_DUTY_CYCLE ) -///< PWM line equation for flow converted to percentage. +/// PWM line equation for flow converted to percentage. #define ROP_FLOW_TO_PWM_PCT(slope, intercept, flow) ( ( slope * log(flow) + intercept ) / MAX_FLUID_PUMP_PWM_DUTY_CYCLE ) #define FP_FLOW_RATE_BELOW_TARGET_TIMEOUT_MS ( 10 * MS_PER_SECOND ) ///< Timeout for flow rate below 75% of target flow rate #define FP_FLOW_RATE_BELOW_TARGET_CLEAR_MS ( 10 * MS_PER_SECOND ) ///< Clear timeout for flow rate below target flow rate