From 4f7cc70bbd931f58b11ff6dc0950f5a8c0c0a987 Mon Sep 17 00:00:00 2001 From: Ollo Date: Sun, 20 Sep 2020 19:49:29 +0200 Subject: [PATCH] Cleanup old code --- esp32/src/main.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index fbdd24b..4401dcc 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -627,13 +627,8 @@ void loop() { /* now ADC2 can be used */ readSensors(); } -#ifndef HC_SR04 - Serial << "Water Low: " << String(mWaterLow) << endl; - Serial << "Water Empty: " << String(mWaterAtEmptyLevel) << endl; - Serial << "Water Overflow: " << String(mOverflow) << endl; -#else + Serial << "Water gone: " << String(mWaterGone) << " cm" << endl; -#endif for(int i=0; i < MAX_PLANTS; i++) { mPlants[i].calculateSensorValue(AMOUNT_SENOR_QUERYS);