fix: reduce delay in start_scale function and reset weight after tare

This commit is contained in:
2025-09-01 14:03:08 +02:00
parent 818094c36e
commit cca0bd9dbe

View File

@@ -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(