Mercurial > flash_v2
changeset 868:61bd80311015
Fix typo - ENOERROR must be ENOERR
| author | gthomas |
|---|---|
| date | Tue, 25 Mar 2003 16:10:48 +0000 |
| parents | 6c0eeb4145cb |
| children | 4f2928474597 |
| files | packages/io/serial/current/src/common/serial.c |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/serial/current/src/common/serial.c +++ b/packages/io/serial/current/src/common/serial.c @@ -344,7 +344,7 @@ serial_write(cyg_io_handle_t handle, con if (!cbuf->blocking) { *len -= size; // number of characters actually sent cbuf->waiting = false; - res = size == 0 ? -EAGAIN : ENOERROR; + res = size == 0 ? -EAGAIN : ENOERR; break; } #endif // CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING @@ -441,7 +441,7 @@ serial_read(cyg_io_handle_t handle, void #ifdef CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING if (!cbuf->blocking) { *len = size; // characters actually read - res = size == 0 ? -EAGAIN : ENOERROR; + res = size == 0 ? -EAGAIN : ENOERR; break; } #endif // CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING
