Browse Source

Fix compile error (bad return type) (#14660)

pull/1/head
Marcio Teixeira 6 years ago
committed by Scott Lahteine
parent
commit
ca4d6f4470
  1. 2
      Marlin/src/lcd/ultralcd.h

2
Marlin/src/lcd/ultralcd.h

@ -299,7 +299,7 @@ public:
static uint8_t progress_bar_percent; 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); }
static void set_progress_done() { set_progress(0x80 + 100); } static void set_progress_done() { set_progress(0x80 + 100); }
static bool progress_reset() { if (progress_bar_percent & 0x80) set_progress(0); } static void progress_reset() { if (progress_bar_percent & 0x80) set_progress(0); }
#endif #endif
static uint8_t get_progress(); static uint8_t get_progress();
#else #else

Loading…
Cancel
Save