arch/sim: fix warning ‘sim_buttonmap’ defined but not used

N/A

Signed-off-by: zhenwei fang <fangzhenwei@bytedance.com>
Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
zhenwei fang
2025-08-05 17:17:57 +08:00
committed by Xiang Xiao
parent bf83ff3fbd
commit f0fc695a81
@@ -46,6 +46,7 @@ extern Display *g_display;
* Name: sim_buttonmap
****************************************************************************/
#ifdef CONFIG_SIM_TOUCHSCREEN
static int sim_buttonmap(int state, int button)
{
int buttons = 0;
@@ -88,6 +89,7 @@ static int sim_buttonmap(int state, int button)
return buttons;
}
#endif
/****************************************************************************
* Public Functions