2023-08-30 16:21:18 +08:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2023, Artinchip Technology Co., Ltd
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __PROGRESS_BAR__
|
|
|
|
|
#define __PROGRESS_BAR__
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <aic_core.h>
|
|
|
|
|
|
2024-04-03 16:40:57 +08:00
|
|
|
#ifdef AIC_BOOTLOADER_CMD_PROGRESS_BAR
|
2023-08-30 16:21:18 +08:00
|
|
|
void aicfb_draw_bar(unsigned int value);
|
2024-04-03 16:40:57 +08:00
|
|
|
#else
|
|
|
|
|
static inline void aicfb_draw_bar(unsigned int value)
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
#endif
|
2023-08-30 16:21:18 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* __PROGRESS_BAR__ */
|