From ddca5e17507c299515410d22196681d440b586e7 Mon Sep 17 00:00:00 2001 From: Nathan Schulte Date: Wed, 15 Jan 2025 11:42:32 -0600 Subject: [PATCH 1/2] fix FW version check timeout comment --- src/common/marlin_print_preview.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/marlin_print_preview.hpp b/src/common/marlin_print_preview.hpp index 934c4e003b..63885bcb92 100644 --- a/src/common/marlin_print_preview.hpp +++ b/src/common/marlin_print_preview.hpp @@ -74,7 +74,7 @@ class PrintPreview : public IPrintPreview { static constexpr int32_t max_run_period_ms = 50; uint32_t new_firmware_open_ms { 0 }; - static constexpr uint32_t new_firmware_timeout_ms { 30000 }; // three seconds + static constexpr uint32_t new_firmware_timeout_ms { 30000 }; // thirty seconds public: enum class Result { Wait, From 0f7a5398183381f1e97b727d6bbc0469e482f3b1 Mon Sep 17 00:00:00 2001 From: Nathan Schulte Date: Thu, 16 Jan 2025 03:26:57 -0600 Subject: [PATCH 2/2] remove redundant comment --- src/common/marlin_print_preview.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/marlin_print_preview.hpp b/src/common/marlin_print_preview.hpp index 63885bcb92..1712658352 100644 --- a/src/common/marlin_print_preview.hpp +++ b/src/common/marlin_print_preview.hpp @@ -74,7 +74,7 @@ class PrintPreview : public IPrintPreview { static constexpr int32_t max_run_period_ms = 50; uint32_t new_firmware_open_ms { 0 }; - static constexpr uint32_t new_firmware_timeout_ms { 30000 }; // thirty seconds + static constexpr uint32_t new_firmware_timeout_ms { 30000 }; public: enum class Result { Wait,