Changes between Version 1 and Version 2 of Ticket #17842, comment 13


Ignore:
Timestamp:
Aug 7, 2022, 2:28:13 PM (22 months ago)
Author:
bipolar

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17842, comment 13

    v1 v2  
    88
    99* [https://cgit.haiku-os.org/haiku/tree/src/add-ons/input_server/devices/serial_mouse/SerialMouse.cpp#n113 Line 113]. It should read: `for (uint8 i = 0; i < fPortsCount; i++) {` instead.
     10
     11[edit-->]
     12* [https://cgit.haiku-os.org/haiku/tree/src/add-ons/input_server/devices/serial_mouse/SerialMouse.cpp#n140 Line 140] should read: `fPortNumber = i + 1;` (otherwise `IsMousePresent()` will return 0/false if using the first port).
     13[<--edit]
    1014
    1115With those changes, it at least it opens `/dev/ports/pc_serial0` on one of my Haiku installs on the same machine (beta3, on a more recent nightly I get no devices under `/dev/ports/`... something else is broken there).