From 273b16e8aa53e8102be1bc99cf21267d110787da Mon Sep 17 00:00:00 2001 From: Jaroslaw Pelczar Date: Wed, 28 Aug 2019 17:07:45 +0200 Subject: [PATCH] EasyPenInputDevice.cpp: Fix broken code Signed-off-by: Jaroslaw Pelczar Change-Id: I28f4c5533d2e816ed79983c846ea41da218bc1a1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1774 Reviewed-by: Adrien Destugues Reviewed-by: waddlesplash --- src/add-ons/input_server/devices/easypen/EasyPenInputDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/input_server/devices/easypen/EasyPenInputDevice.cpp b/src/add-ons/input_server/devices/easypen/EasyPenInputDevice.cpp index 14ced35cca..55b80b21fe 100644 --- a/src/add-ons/input_server/devices/easypen/EasyPenInputDevice.cpp +++ b/src/add-ons/input_server/devices/easypen/EasyPenInputDevice.cpp @@ -125,7 +125,7 @@ EasyPenInputDevice::InitCheck() } snooze(250000); serial->Write("z9", 2); // 8 data bits,odd parity z 9 - serial->Write((char)NULL, 1); // Reset NUL + serial->Write("", 1); // Reset NUL serial->Write("DP", 2); // mode command D trigger command P snooze(250000); serial->ClearInput();