mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-06-19 04:15:06 +00:00
Fix GT911
This commit is contained in:
parent
133215664c
commit
a6571f815d
@ -15,7 +15,7 @@ public:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
Configuration(
|
Configuration(
|
||||||
::Device* controller,
|
i2c_port_t port,
|
||||||
uint16_t xMax,
|
uint16_t xMax,
|
||||||
uint16_t yMax,
|
uint16_t yMax,
|
||||||
bool swapXy = false,
|
bool swapXy = false,
|
||||||
@ -25,7 +25,7 @@ public:
|
|||||||
gpio_num_t pinInterrupt = GPIO_NUM_NC,
|
gpio_num_t pinInterrupt = GPIO_NUM_NC,
|
||||||
unsigned int pinResetLevel = 0,
|
unsigned int pinResetLevel = 0,
|
||||||
unsigned int pinInterruptLevel = 0
|
unsigned int pinInterruptLevel = 0
|
||||||
) : controller(controller),
|
) : port(port),
|
||||||
xMax(xMax),
|
xMax(xMax),
|
||||||
yMax(yMax),
|
yMax(yMax),
|
||||||
swapXy(swapXy),
|
swapXy(swapXy),
|
||||||
@ -37,7 +37,7 @@ public:
|
|||||||
pinInterruptLevel(pinInterruptLevel)
|
pinInterruptLevel(pinInterruptLevel)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
::Device* controller;
|
i2c_port_t port;
|
||||||
uint16_t xMax;
|
uint16_t xMax;
|
||||||
uint16_t yMax;
|
uint16_t yMax;
|
||||||
bool swapXy;
|
bool swapXy;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user