Skip to content

Reading from serial port always takes the full timeout of 1000 ms #12

Description

@madMAx43v3r

len = serial_port_->read(buffer, MAX_NOUT_SIZE);

What the hell dude? This line waits for 5000 frickin bytes to be read before processing the data!!! No wonder there is always a huge delay, it always hits the timeout of 1000 ms!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions