refactor: improve task synchronization in vendor, filament, and spool creation functions

This commit is contained in:
2025-08-29 10:02:48 +02:00
parent 54275f2ac9
commit 95433b4842
2 changed files with 43 additions and 41 deletions

View File

@@ -48,8 +48,10 @@ void scale_loop(void * parameter) {
Serial.println("Scale Loop started");
Serial.println("++++++++++++++++++++++++++++++");
vTaskDelay(pdMS_TO_TICKS(500));
scale.tare();
vTaskDelay(pdMS_TO_TICKS(500));
for(;;) {
if (scale.is_ready())
{