mirror of https://github.com/arendst/Tasmota.git
Merge pull request #6409 from gemu2015/touch-fix
fixes touch controller on core > 2.42
This commit is contained in:
commit
d9877e8086
|
@ -69,7 +69,7 @@ uint16_t FT6236GetButtonMask(void) {
|
|||
|
||||
void FT6236begin(uint8_t i2c_addr) {
|
||||
FT6236_i2c_addr=i2c_addr;
|
||||
Wire.begin(FT6236_i2c_addr);
|
||||
Wire.begin();
|
||||
FT6236writeTouchRegister(0,FT6236_MODE_NORMAL);
|
||||
lenLibVersion = FT6236readTouchAddr(0x0a1, FT6236buf, 2 );
|
||||
firmwareId = FT6236readTouchRegister( 0xa6 );
|
||||
|
|
Loading…
Reference in New Issue