Fix compile error (bad return type) (#14660)
This commit is contained in:
parent
522df57a45
commit
ca4d6f4470
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue