Skip to content

Commit

Permalink
Fix ArduinoIDE 2.2.1 compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jan 25, 2024
1 parent dee84c3 commit 51114c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/TouchDrvFT6X36.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,10 @@ class TouchDrvFT6X36 :
return false;
}

uint16_t version = getLibraryVersion();
log_i("Chip library version : 0x%x\n", version);
log_i("Chip library version : 0x%x\n", getLibraryVersion());

// This register describes period of monitor status, it should not less than 30.
uint8_t val = readRegister(FT6X36_REG_PERIODMONITOR);
log_i("Chip period of monitor status : 0x%x\n", val);
log_i("Chip period of monitor status : 0x%x\n", readRegister(FT6X36_REG_PERIODMONITOR));

// This register describes the period of active status, it should not less than 12

Expand Down

0 comments on commit 51114c6

Please sign in to comment.