fixed bug when outbyte had argument in wrong order relative to those invoking it

This commit is contained in:
Joel Sherrill
1996-02-13 22:15:52 +00:00
parent 94b3ec5970
commit da646dd837

View File

@@ -80,7 +80,7 @@ rtems_device_driver console_initialize(
status = rtems_io_register_name(
"/dev/console",
major,
(rtems_device_minor_number) 0
(rtems_device_minor_number) 1
);
if (status != RTEMS_SUCCESSFUL)
@@ -98,7 +98,7 @@ rtems_device_driver console_initialize(
status = rtems_io_register_name(
"/dev/tty01",
major,
(rtems_device_minor_number) 0
(rtems_device_minor_number) 1
);
if (status != RTEMS_SUCCESSFUL)
@@ -138,7 +138,7 @@ char inbyte(int port)
* XON/XOFF flow control.
*/
void outbyte(int port, char ch)
void outbyte(char ch, int port)
{
while (1) {
if (ZREAD0(port) & TX_BUFFER_EMPTY) break;