From da59e38697e54d2cfe244ccc021d1905bd880cc9 Mon Sep 17 00:00:00 2001 From: Malaurie Bernard <mbernard@kinouby> Date: Fri, 28 Jul 2023 09:41:24 +0200 Subject: [PATCH] Linking clockwise equals push button and code --- web.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web.cpp b/web.cpp index 775e21a..b9160ee 100644 --- a/web.cpp +++ b/web.cpp @@ -623,11 +623,13 @@ void clockwise_equals_push_callback(Control* sender, int value) switch (value) { case S_ACTIVE: + syringe_filled.set_clockwise_equals_push(true); ESPUI.print(clockwise_equals_push_label, "Horaire = Injection"); break; case S_INACTIVE: + syringe_filled.set_clockwise_equals_push(false); ESPUI.print(clockwise_equals_push_label, "Horaire = Aspiration"); break; } -- GitLab