Browse Source

efElectricAgingTrendMining calculationAnalysisOfLeakageCurrentConsumption.h 吉超博 commit at 2021-01-12

吉超博 4 năm trước cách đây
mục cha
commit
876011ea57

+ 3 - 0
efElectricAgingTrendMining/analysisOfCableOverloadOperation/calculationAnalysisOfLeakageCurrentConsumption.h

@@ -478,3 +478,6 @@ iop_desc_set_pq_src_addr(struct iop_adma_desc_slot *desc, int src_idx,
 		src->src_addr = addr;
 		src->pq_upper_src_addr = 0;
 		src->pq_dmlt = coef;
+		slot_cnt -= slots_per_op;
+		if (slot_cnt) {
+			i += slots_per_op;