Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moononournation committed Dec 5, 2022
1 parent 896257b commit d3acd9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/ArduinoVNC/touch.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool touch_touched_flag = true, touch_released_flag = true;
#elif defined(TOUCH_GT911)
#include <Wire.h>
#include <TAMC_GT911.h>
TAMC_GT911 ts = TAMC_GT911(TOUCH_GT911_SDA, TOUCH_GT911_SCL, TOUCH_GT911_INT, TOUCH_GT911_RST, max(touch_map_x1, touch_map_x2), max(touch_map_y1, touch_map_y2));
TAMC_GT911 ts = TAMC_GT911(TOUCH_GT911_SDA, TOUCH_GT911_SCL, TOUCH_GT911_INT, TOUCH_GT911_RST, 4096, 4096);

#elif defined(TOUCH_XPT2046)
#include <XPT2046_Touchscreen.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/LVGL/LvglWidgets/touch.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool touch_touched_flag = true, touch_released_flag = true;
#elif defined(TOUCH_GT911)
#include <Wire.h>
#include <TAMC_GT911.h>
TAMC_GT911 ts = TAMC_GT911(TOUCH_GT911_SDA, TOUCH_GT911_SCL, TOUCH_GT911_INT, TOUCH_GT911_RST, max(touch_map_x1, touch_map_x2), max(touch_map_y1, touch_map_y2));
TAMC_GT911 ts = TAMC_GT911(TOUCH_GT911_SDA, TOUCH_GT911_SCL, TOUCH_GT911_INT, TOUCH_GT911_RST, 4096, 4096);

#elif defined(TOUCH_XPT2046)
#include <XPT2046_Touchscreen.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/TouchCalibration/touch.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool touch_touched_flag = true, touch_released_flag = true;
#elif defined(TOUCH_GT911)
#include <Wire.h>
#include <TAMC_GT911.h>
TAMC_GT911 ts = TAMC_GT911(TOUCH_GT911_SDA, TOUCH_GT911_SCL, TOUCH_GT911_INT, TOUCH_GT911_RST, max(touch_map_x1, touch_map_x2), max(touch_map_y1, touch_map_y2));
TAMC_GT911 ts = TAMC_GT911(TOUCH_GT911_SDA, TOUCH_GT911_SCL, TOUCH_GT911_INT, TOUCH_GT911_RST, 4096, 4096);

#elif defined(TOUCH_XPT2046)
#include <XPT2046_Touchscreen.h>
Expand Down

0 comments on commit d3acd9a

Please sign in to comment.