Skip to content

Commit

Permalink
fixed missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Bank authored and Laurence Bank committed Sep 26, 2023
1 parent 3f00569 commit df0ed5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bb_captouch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ uint8_t ucTemp[4];
Wire.setClock(u32Speed);
_iType = -1;

if (I2CTest(GT911_ADDR1) || I2CTest(GT911_ADDR2) {
if (I2CTest(GT911_ADDR1) || I2CTest(GT911_ADDR2)) {
_iType = CT_TYPE_GT911;
}
if (_iType == CT_TYPE_GT911) { // reset the sensor to start it
Expand Down

0 comments on commit df0ed5f

Please sign in to comment.