From a7b2dc35b12fee18cb5f454bfc00ca8ed4525053 Mon Sep 17 00:00:00 2001 From: Malaurie Bernard <mbernard@kinouby> Date: Mon, 3 Jul 2023 15:31:01 +0200 Subject: [PATCH] Changing every pump syringe by synringe pump (juste the name) --- syringefilled.cpp | 4 ++-- syringefilled.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/syringefilled.cpp b/syringefilled.cpp index de633f4..f29f6e5 100644 --- a/syringefilled.cpp +++ b/syringefilled.cpp @@ -140,11 +140,11 @@ float SyringeFilled :: move() if (whereStep() == 0) //If we are putting the syringe for the first time { - moveToMm(pump_syringe_length_mm - remaining_volume_mm3/section_mm2); + moveToMm(syringe_pump_length_mm - remaining_volume_mm3/section_mm2); } else { - float initial_position_mm = pump_syringe_length_mm - remaining_volume_mm3/section_mm2; + float initial_position_mm = syringe_pump_length_mm - remaining_volume_mm3/section_mm2; if (get_push()) //If we want to deliver some liquid { diff --git a/syringefilled.h b/syringefilled.h index e8136e6..3e11cdc 100644 --- a/syringefilled.h +++ b/syringefilled.h @@ -4,7 +4,7 @@ #include <ArduinoJson.h> #include "math.h" -#define pump_syringe_length_mm 50 +#define syringe_pump_length_mm 50 class SyringeFilled : public Motor { @@ -27,7 +27,7 @@ class SyringeFilled : public Motor //Syringe Syringe* _id_syringe; //Not sure how to manage it - //Pump-Syringe + //Syringe_Pump float _screw_thread_mm; bool _clockwise_equals_forward; -- GitLab