Fix MIN/MAX function collision with macros
This commit is contained in:
@ -293,7 +293,7 @@ public:
|
||||
#if HAS_PRINT_PROGRESS
|
||||
#if ENABLED(LCD_SET_PROGRESS_MANUALLY)
|
||||
static uint8_t progress_bar_percent;
|
||||
static void set_progress(const uint8_t progress) { progress_bar_percent = MIN(progress, 100); }
|
||||
static void set_progress(const uint8_t progress) { progress_bar_percent = _MIN(progress, 100); }
|
||||
#endif
|
||||
static uint8_t get_progress();
|
||||
#else
|
||||
|
Reference in New Issue
Block a user