mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add configuration option to select touchscreen X/Y
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user