Skip to content

Compile error on OSX - serial_port.c error: use of undeclared identifier 'B57600' etc #155

Closed
@sm3ulc

Description

@sm3ulc

Pulled latest version on OSX (v10.13.5) and get this. Just some missing DEFINEs or?

serial_port.c:242:34: error: use of undeclared identifier 'B57600'
case 57600: cfsetispeed (&ts, B57600); cfsetospeed (&ts, B57600); break;
^
serial_port.c:242:61: error: use of undeclared identifier 'B57600'
case 57600: cfsetispeed (&ts, B57600); cfsetospeed (&ts, B57600); break;
^
serial_port.c:243:35: error: use of undeclared identifier 'B115200'
case 115200: cfsetispeed (&ts, B115200); cfsetospeed (&ts, B115200); break;
^
serial_port.c:243:63: error: use of undeclared identifier 'B115200'
case 115200: cfsetispeed (&ts, B115200); cfsetospeed (&ts, B115200); break;
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions