From 27b4a8abcbef20375fbe70dd41c7f919fc9ddee5 Mon Sep 17 00:00:00 2001
From: Carl Philipp Klemm <philipp@uvos.xyz>
Date: Mon, 10 Jun 2024 16:37:34 +0200
Subject: [PATCH] run a single cell charge cycle every 10 global cycles steps

---
 expiramentimpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/expiramentimpl.h b/expiramentimpl.h
index 474e43b..24d3f64 100644
--- a/expiramentimpl.h
+++ b/expiramentimpl.h
@@ -21,7 +21,7 @@ bool Expirament::step(size_t startsubstep)
 	switch(globalstep % STEP_COUNT)
 	{
 		case 0:
-			if((globalstep/STEP_COUNT) == 20)
+			if((globalstep/STEP_COUNT) % 10 == 0)
 			{
 				ret = capacityMesureCycle();
 			}
-- 
GitLab