Skip to content

Need one extra Line to work on macOS: #21

@cyba3r

Description

@cyba3r

Hi :-)

Great work from your side!! To get this program running on Mac (Silikon) you need one extra line code. Otherwise you get an error:

"k5_receive: bad magic number" or "error 22 Invalid argument"

Function"int openport(char *port,speed_t speed)"

.....
cfmakeraw(&my_termios);
cfsetospeed(&my_termios, speed); <-Needed for MacOS
cfsetispeed(&my_termios, cfgetospeed(&my_termios));
....

Cheers
DO9JN

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