Skip to content

Commit 1679a9c

Browse files
committed
Remove IAR warnings.
1 parent 4fcb87a commit 1679a9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bsp/nuvoton/libraries/nu_packages/Demo/slcd_show_tick.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,12 @@ const uint32_t au32SLCDSymbols [] =
7676
};
7777
const int i32SLCDSymbolsSize = sizeof(au32SLCDSymbols) / sizeof(au32SLCDSymbols[0]);
7878

79-
8079
void slcd_demo_hook(void)
8180
{
8281
static uint32_t u32NextShowTime = 0;
8382
static uint32_t u32ShownTime = 0;
8483
uint32_t u32CurTickCount = rt_tick_get();
85-
uint8_t au8Str[16];
84+
char au8Str[16];
8685

8786
if (u32CurTickCount < u32NextShowTime)
8887
return;
@@ -139,7 +138,6 @@ void slcd_demo_hook(void)
139138
static int slcd_demo_init(void)
140139
{
141140
rt_err_t err = rt_thread_idle_sethook(slcd_demo_hook);
142-
uint8_t au8Str[16];
143141

144142
if (err != RT_EOK)
145143
{

0 commit comments

Comments
 (0)