Skip to content

Commit c7f3fd2

Browse files
committed
cleanup(gt911): comment out unneeded code
1 parent 6db2f2f commit c7f3fd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/gt911/include/gt911.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ class Gt911 {
6565

6666
protected:
6767
void init() {
68+
/* NOTE: this doesn't seem to be needed
6869
using namespace std::chrono_literals;
69-
/*
70-
*/
7170
// write 0x02 (software reset) to GT911 COMMAND register
7271
write(Registers::COMMAND, 0x02);
7372
// delay 200 ms
@@ -80,6 +79,7 @@ class Gt911 {
8079
write(Registers::SWITCH_1, val);
8180
// delay 200 ms
8281
std::this_thread::sleep_for(200ms);
82+
*/
8383
}
8484

8585
static constexpr int CONTACT_SIZE = 8;

0 commit comments

Comments
 (0)