Skip to content

Commit

Permalink
Repair GT911 chip ID loss
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jan 29, 2024
1 parent 6f7f387 commit a785397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TouchDrvGT911.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ class TouchDrvGT911 :
reset();
}


log_i("Product id:%d\n", getChipID());
__chipID = getChipID();
log_i("Product id:%ld\n", __chipID);

if (getChipID() != 911) {
log_i("Not find device GT911\n");
Expand Down

0 comments on commit a785397

Please sign in to comment.