Searched refs:kMaxBytesToRead (Results 1 - 1 of 1) sorted by relevance

/haiku/src/add-ons/input_server/devices/serial_mouse/
H A DSerialMouse.cpp46 const static uint8 kMaxBytesToRead = 255; // Serial PnP data can be this long. variable
163 char buffer[kMaxBytesToRead];
186 while ((fSerialPort->Read(&c, 1) == 1) && (bytes_read < kMaxBytesToRead)) {

Completed in 35 milliseconds