Fix expire_status warning (#15094)

This commit is contained in:
Ludy 2019-08-29 23:05:22 +02:00 committed by Scott Lahteine
parent 38983fdfa9
commit 3f77d6a551

View File

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