EasyPenInputDevice.cpp: Fix broken code
Signed-off-by: Jaroslaw Pelczar <[email protected]> Change-Id: I28f4c5533d2e816ed79983c846ea41da218bc1a1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1774 Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
fea647905f
commit
273b16e8aa
@@ -125,7 +125,7 @@ EasyPenInputDevice::InitCheck()
|
|||||||
}
|
}
|
||||||
snooze(250000);
|
snooze(250000);
|
||||||
serial->Write("z9", 2); // 8 data bits,odd parity <command> z 9
|
serial->Write("z9", 2); // 8 data bits,odd parity <command> z 9
|
||||||
serial->Write((char)NULL, 1); // Reset <command> NUL
|
serial->Write("", 1); // Reset <command> NUL
|
||||||
serial->Write("DP", 2); // mode command D trigger command P
|
serial->Write("DP", 2); // mode command D trigger command P
|
||||||
snooze(250000);
|
snooze(250000);
|
||||||
serial->ClearInput();
|
serial->ClearInput();
|
||||||
|
|||||||
Reference in New Issue
Block a user