From 7630f861cdc1fb3c2bc87a0341a9d2ec36b5938e Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Wed, 2 May 2018 16:01:25 +0200 Subject: [PATCH] correction --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 1f5441e..dc709fa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -48,7 +48,7 @@ bool startWind = false; float servoPos = 0; bool goLeft = true; int leftSteps = 0; -float spoolLenght = 0.0; +float spoolLength = 0.0; void setup() { Serial.begin(115200); @@ -78,7 +78,7 @@ void setup() { lcd.setCursor(0,1); lcd.print("Wide:" + String(wideJump)); lcd.setCursor(10,1); - lcd.print(String(spoolLenght) + "m"); + lcd.print(String(spoolLength) + "m"); } int read_LCD_buttons() { @@ -312,9 +312,9 @@ void loop() Serial.println(leftSteps); revCounter = 0; - spoolLenght += 0.07; + spoolLength += 0.07; lcd.setCursor(10,1); lcd.print(" "); - lcd.setCursor(10,1); lcd.print(String(spoolLenght) + "m"); + lcd.setCursor(10,1); lcd.print(String(spoolLength) + "m"); } } }