Fix compile error (bad return type) (#14660)
This commit is contained in:
parent
522df57a45
commit
ca4d6f4470
@ -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…
Reference in New Issue
Block a user