[chronojump/FS-LCD-Menu] Fixed LCD calibration with 5 kg



commit 1724f2e2bdd1d9e43d6cfa0706390fc8818d26d1
Author: Xavier Padullés <testing chronojump org>
Date:   Sun Jan 9 19:14:22 2022 +0100

    Fixed LCD calibration with 5 kg

 arduino/ForceSensorLCD/ForceSensorLCD.ino | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/arduino/ForceSensorLCD/ForceSensorLCD.ino b/arduino/ForceSensorLCD/ForceSensorLCD.ino
index 15081d3c8..7fc0ed091 100644
--- a/arduino/ForceSensorLCD/ForceSensorLCD.ino
+++ b/arduino/ForceSensorLCD/ForceSensorLCD.ino
@@ -854,7 +854,7 @@ void calibrateLCD(void) {
   int weight = 5;
   submenu = 0;
   bool exitFlag = false;
-  String calibrateCommand = "calibrate:";
+  String calibrateCommand = calibrateCommand + String(weight, DEC) + ";";
   showCalibrateLoad(String(weight, DEC));
   redButtonState = false;
   while (!exitFlag) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]