We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_gt911TouchHandler
1 parent 4650956 commit c9ddb74Copy full SHA for c9ddb74
src/Arduino_GigaDisplayTouch.cpp
@@ -173,6 +173,7 @@ uint8_t Arduino_GigaDisplayTouch::getTouchPoints(GDTpoint_t* points) {
173
void Arduino_GigaDisplayTouch::onDetect(void (*handler)(uint8_t, GDTpoint_t*)) {
174
if (handler == nullptr) {
175
// Detach the interrupt and stop the event queue thread
176
+ _gt911TouchHandler = nullptr;
177
queue.break_dispatch();
178
_irqInt.rise(nullptr);
179
if (t.get_state() != rtos::Thread::Deleted) {
0 commit comments