|
|
@@ -175,7 +175,10 @@ void tdc_flow_itf(double flow_vol, float tmp_float) {
|
|
|
float rtc_interrupt_time_seconds = get_rtc_interrupt_time();
|
|
|
|
|
|
#if defined(CHECK_CORRECT_ENABLE)
|
|
|
- float FlowCorrFactor = CheckFlowCorrectFactor(WaterTemp, (uint16_t)tmp_float);
|
|
|
+ //modified by yuewei 20260914 start
|
|
|
+ //float FlowCorrFactor = CheckFlowCorrectFactor(WaterTemp, (uint16_t)tmp_float);
|
|
|
+ float FlowCorrFactor = CheckFlowCorrectFactor(WaterTemp, (uint16_t)fabs(tmp_float));
|
|
|
+ //modified by yuewei 20260914 end
|
|
|
FlowVol *= FlowCorrFactor; // unit:cm^3/s = ml/s
|
|
|
#endif
|
|
|
//20260429
|