[haiku-commits] haiku: hrev53432 - src/add-ons/input_server/devices/easypen

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 30 Aug 2019 15:25:41 -0400 (EDT)

hrev53432 adds 1 changeset to branch 'master'
old head: fea647905ffbb7650c1f7c1c12852184a2606e19
new head: 273b16e8aa53e8102be1bc99cf21267d110787da
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=273b16e8aa53+%5Efea647905ffb

----------------------------------------------------------------------------

273b16e8aa53: EasyPenInputDevice.cpp: Fix broken code
  
  Signed-off-by: Jaroslaw Pelczar <jarek@xxxxxxxxxxxx>
  Change-Id: I28f4c5533d2e816ed79983c846ea41da218bc1a1
  Reviewed-on: https://review.haiku-os.org/c/haiku/+/1774
  Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                                   [ Jaroslaw Pelczar <jarek@xxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53432
Commit:      273b16e8aa53e8102be1bc99cf21267d110787da
URL:         https://git.haiku-os.org/haiku/commit/?id=273b16e8aa53
Author:      Jaroslaw Pelczar <jarek@xxxxxxxxxxxx>
Date:        Wed Aug 28 15:07:45 2019 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Fri Aug 30 19:25:39 2019 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/add-ons/input_server/devices/easypen/EasyPenInputDevice.cpp | 2 +-

----------------------------------------------------------------------------

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 <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
                snooze(250000);
                serial->ClearInput();


Other related posts:

  • » [haiku-commits] haiku: hrev53432 - src/add-ons/input_server/devices/easypen - waddlesplash