mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 04:58:28 +00:00
Add configuration option to select touchscreen X/Y
This commit is contained in:
parent
4883e4494b
commit
dcdc23252c
1 changed files with 3 additions and 0 deletions
|
|
@ -126,6 +126,9 @@ static struct sama5d4ek_tscinfo_s g_mxtinfo =
|
|||
{
|
||||
.address = MXT_I2C_ADDRESS,
|
||||
.frequency = CONFIG_SAMV71XULT_MXT_I2CFREQUENCY,
|
||||
#ifdef CONFIG_SAMV71XULT_MXT_SWAPXY
|
||||
.swapxy = true;
|
||||
#endif
|
||||
|
||||
.attach = mxt_attach,
|
||||
.enable = mxt_enable,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue