From 5fb0c9211165670e1afd99c03f695b0e084ea22d Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 23 Sep 2023 18:03:53 +0200 Subject: [PATCH] non-zero default flow value --- Core/Src/PSE_unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Src/PSE_unit.c b/Core/Src/PSE_unit.c index 5450d8e..1591dfa 100644 --- a/Core/Src/PSE_unit.c +++ b/Core/Src/PSE_unit.c @@ -21,7 +21,7 @@ static void generate_default_units(pse_unit* units, pse_syringe* syringes, pse_s units[i] = (pse_unit){ .enabled = i%2, .port = i, - .flow = 1500*i, + .flow = 1500*(i+1), .volume = 0, .set_volume = 0, .syringe = &syringes[i],