mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 15:13:33 +08:00
NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4721 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -625,7 +625,7 @@ errout:
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sim_tcinitialize
|
||||
* Name: arch_tcinitialize
|
||||
*
|
||||
* Description:
|
||||
* Configure the simulated touchscreen. This will register the driver as
|
||||
@@ -640,7 +640,7 @@ errout:
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int sim_tcinitialize(int minor)
|
||||
int arch_tcinitialize(int minor)
|
||||
{
|
||||
FAR struct up_dev_s *priv = ( FAR struct up_dev_s *)&g_simtouchscreen;
|
||||
char devname[DEV_NAMELEN];
|
||||
@@ -687,7 +687,7 @@ errout_with_priv:
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sim_tcuninitialize
|
||||
* Name: arch_tcuninitialize
|
||||
*
|
||||
* Description:
|
||||
* Uninitialized the simulated touchscreen
|
||||
@@ -700,7 +700,7 @@ errout_with_priv:
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void sim_tcuninitialize(void)
|
||||
void arch_tcuninitialize(void)
|
||||
{
|
||||
FAR struct up_dev_s *priv = ( FAR struct up_dev_s *)&g_simtouchscreen;
|
||||
char devname[DEV_NAMELEN];
|
||||
|
||||
Reference in New Issue
Block a user