diff --git a/src/scale.cpp b/src/scale.cpp index a5519f1..9e2aa03 100644 --- a/src/scale.cpp +++ b/src/scale.cpp @@ -257,8 +257,10 @@ void start_scale(bool touchSensorConnected) { // Display Gewicht oledShowWeight(0); - vTaskDelay(1000 / portTICK_PERIOD_MS); + vTaskDelay(500 / portTICK_PERIOD_MS); scale.tare(); + vTaskDelay(500 / portTICK_PERIOD_MS); + weight = 0; Serial.println("starte Scale Task"); BaseType_t result = xTaskCreatePinnedToCore(