Update Dell_D630_Keyboard_and_Touchpad.ino
This commit is contained in:
parent
edff6dc42a
commit
45a05cbca3
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ void touchpad_write(char data)
|
||||||
delayMicroseconds(10);
|
delayMicroseconds(10);
|
||||||
// start bit
|
// start bit
|
||||||
go_z(MCLK);
|
go_z(MCLK);
|
||||||
// wait for touchpad to take control of clock)
|
// wait for touchpad to take control of clock
|
||||||
while (digitalRead(MCLK) == HIGH) {
|
while (digitalRead(MCLK) == HIGH) {
|
||||||
if (watchdog >= 200) { //check for infinite loop
|
if (watchdog >= 200) { //check for infinite loop
|
||||||
touchpad_error = HIGH; // set error flag
|
touchpad_error = HIGH; // set error flag
|
||||||
|
|
Loading…
Reference in a new issue