mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user