From 76b5d0dfcfb6722f58fc3c8f87c987314460edaa Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Thu, 29 Dec 2022 18:42:12 -0500 Subject: [PATCH] [bsp][nuvoton] modify RT_WEAK as rt_weak --- bsp/nuvoton/libraries/ma35/rtt_port/drv_disp.c | 4 ++-- bsp/nuvoton/libraries/ma35/rtt_port/drv_rtp.c | 2 +- bsp/nuvoton/numaker-hmi-ma35d1/applications/lvgl/lv_demo.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/nuvoton/libraries/ma35/rtt_port/drv_disp.c b/bsp/nuvoton/libraries/ma35/rtt_port/drv_disp.c index 8834c0ef55..842c567882 100644 --- a/bsp/nuvoton/libraries/ma35/rtt_port/drv_disp.c +++ b/bsp/nuvoton/libraries/ma35/rtt_port/drv_disp.c @@ -73,9 +73,9 @@ static struct nu_disp nu_fbdev[eLayer_Cnt] = #endif }; -RT_WEAK void nu_lcd_backlight_on(void) { } +rt_weak void nu_lcd_backlight_on(void) { } -RT_WEAK void nu_lcd_backlight_off(void) { } +rt_weak void nu_lcd_backlight_off(void) { } static void nu_disp_isr(int vector, void *param) { diff --git a/bsp/nuvoton/libraries/ma35/rtt_port/drv_rtp.c b/bsp/nuvoton/libraries/ma35/rtt_port/drv_rtp.c index 09759b2c99..fc211961ea 100644 --- a/bsp/nuvoton/libraries/ma35/rtt_port/drv_rtp.c +++ b/bsp/nuvoton/libraries/ma35/rtt_port/drv_rtp.c @@ -100,7 +100,7 @@ exit_nu_rtp_load_from_memory: } #endif -RT_WEAK void nu_rtp_sspcc_setup(void) +rt_weak void nu_rtp_sspcc_setup(void) { SSPCC_SET_REALM(SSPCC_UART16, SSPCC_SSET_SUBM); diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/applications/lvgl/lv_demo.c b/bsp/nuvoton/numaker-hmi-ma35d1/applications/lvgl/lv_demo.c index 1f8382d46a..bc7d9b4b42 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/applications/lvgl/lv_demo.c +++ b/bsp/nuvoton/numaker-hmi-ma35d1/applications/lvgl/lv_demo.c @@ -10,7 +10,7 @@ #include -RT_WEAK void lv_user_gui_init(void) +rt_weak void lv_user_gui_init(void) { /* display demo; you may replace with your LVGL application at here and disable related definitions. */