32#ifndef CONFIG_PROGRESS_BAR_LENGTH
33#define CONFIG_PROGRESS_BAR_LENGTH (25U)
39#ifndef CONFIG_PROGRESS_BAR_FULL_CHARACTER
40#define CONFIG_PROGRESS_BAR_FULL_CHARACTER "█"
46#ifndef CONFIG_PROGRESS_BAR_EMPTY_CHARACTER
47#define CONFIG_PROGRESS_BAR_EMPTY_CHARACTER " "
53#ifndef CONFIG_PROGRESS_BAR_PREFIX_CHARACTER
54#define CONFIG_PROGRESS_BAR_PREFIX_CHARACTER "|"
60#ifndef CONFIG_PROGRESS_BAR_SUFFIX_CHARACTER
61#define CONFIG_PROGRESS_BAR_SUFFIX_CHARACTER "|"
67#ifndef CONFIG_PROGRESS_BAR_PREFIX_MAX_LENGTH
68#define CONFIG_PROGRESS_BAR_PREFIX_MAX_LENGTH (32U)
74#ifndef CONFIG_PROGRESS_BAR_SUFFIX_MAX_LENGTH
75#define CONFIG_PROGRESS_BAR_SUFFIX_MAX_LENGTH (32U)
Adds include for missing inttype definitions.
void progress_bar_print(char *prefix, char *suffix, uint8_t value)
Print a progress bar in the terminal.
void progress_bar_prepare_multi(uint8_t len)
Prepare the output for displaying multiple progress bars.
#define CONFIG_PROGRESS_BAR_PREFIX_MAX_LENGTH
Progress bar prefix max length.
void progress_bar_update(progress_bar_t *progress_bar)
Update the progress bar display in the terminal.
#define CONFIG_PROGRESS_BAR_SUFFIX_MAX_LENGTH
Progress bar suffix max length.
void progress_bar_update_multi(progress_bar_t *progress_bar_list, uint8_t len)
Update all progress bar displays of the given progress bars list.
uint8_t value
Current value of the progress bar.