mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Update GT911 Touch driver
This commit is contained in:
parent
2800795207
commit
de91d0d610
@ -30,7 +30,7 @@ void touch_scan(TwoWire& i2c)
|
|||||||
|
|
||||||
if(error == 0) {
|
if(error == 0) {
|
||||||
snprintf_P(buffer, sizeof(buffer), PSTR(D_BULLET " Found device 0x%02x"), address);
|
snprintf_P(buffer, sizeof(buffer), PSTR(D_BULLET " Found device 0x%02x"), address);
|
||||||
LOG_VERBOSE(TAG_DRVR, buffer, address);
|
LOG_INFO(TAG_DRVR, buffer, address);
|
||||||
nDevices++;
|
nDevices++;
|
||||||
} else if(error == 4) {
|
} else if(error == 4) {
|
||||||
snprintf_P(buffer, sizeof(buffer), PSTR(D_BULLET "Unknown error at address 0x%02x"), address);
|
snprintf_P(buffer, sizeof(buffer), PSTR(D_BULLET "Unknown error at address 0x%02x"), address);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user