Fix up LCD_PROGRESS_BAR
- Some messages should not expire with `PROGRESS_MSG_EXPIRE`. - Simplify conditional for progress bar with sanity checks. - Rename `messageTick` to `expireStatusMillis` and make it the expire time.
This commit is contained in:
1 parent
baa6787393
commit
5519882eea
5 files changed
+59
-40
No files matched your search
@@ -17,8 +17,11 @@
|
||||
* Progress Bar
|
||||
*/
|
||||
#ifdef LCD_PROGRESS_BAR
|
||||
#ifndef SDSUPPORT
|
||||
#error LCD_PROGRESS_BAR requires SDSUPPORT.
|
||||
#endif
|
||||
#ifdef DOGLCD
|
||||
#warning LCD_PROGRESS_BAR does not apply to graphical displays.
|
||||
#error LCD_PROGRESS_BAR does not apply to graphical displays.
|
||||
#endif
|
||||
#ifdef FILAMENT_LCD_DISPLAY
|
||||
#error LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both.
|
||||
|
||||
Reference in new issue
Block a user