Skip to content
Snippets Groups Projects
Commit 3f77d6a5 authored by Ludy's avatar Ludy Committed by Scott Lahteine
Browse files

Fix expire_status warning (#15094)

parent 38983fdf
Branches
Tags
No related merge requests found
...@@ -340,7 +340,7 @@ public: ...@@ -340,7 +340,7 @@ public:
static millis_t progress_bar_ms; // Start time for the current progress bar cycle static millis_t progress_bar_ms; // Start time for the current progress bar cycle
static void draw_progress_bar(const uint8_t percent); static void draw_progress_bar(const uint8_t percent);
#if PROGRESS_MSG_EXPIRE > 0 #if PROGRESS_MSG_EXPIRE > 0
static millis_t MarlinUI::expire_status_ms; // = 0 static millis_t expire_status_ms; // = 0
static inline void reset_progress_bar_timeout() { expire_status_ms = 0; } static inline void reset_progress_bar_timeout() { expire_status_ms = 0; }
#endif #endif
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment