Add configuration option to select touchscreen X/Y

This commit is contained in:
Gregory Nutt
2015-05-12 17:47:42 -06:00
parent 4883e4494b
commit dcdc23252c
+3
View File
@@ -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,