Update Dell_D630_Keyboard_and_Touchpad.ino

This commit is contained in:
Frank Adams 2018-11-01 21:17:59 -07:00 committed by GitHub
parent edff6dc42a
commit 45a05cbca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,7 +286,7 @@ void touchpad_write(char data)
delayMicroseconds(10);
// start bit
go_z(MCLK);
// wait for touchpad to take control of clock)
// wait for touchpad to take control of clock
while (digitalRead(MCLK) == HIGH) {
if (watchdog >= 200) { //check for infinite loop
touchpad_error = HIGH; // set error flag