OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 1153 to Rev 1154
    Reverse comparison

Rev 1153 → Rev 1154

/trunk/or1ksim/peripheral/channels/tty.c
130,8 → 130,10
cfsetospeed(&options, baud);
 
// Enable the receiver and set local mode...
cfmakeraw(&options);
options.c_cflag |= (CLOCAL | CREAD);
 
 
// Set the new options for the port...
if (tcsetattr(fd, TCSANOW, &options) < 0)
goto error;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.