On 2014-06-30 13:34, Sebastian Huber wrote:
@@ -83,8 +84,8 @@ static void leon3_console_isr(void *arg)
    }

    if (
-    (status & LEON_REG_UART_STATUS_THE)
-      && (uart->regs->ctrl & LEON_REG_UART_CTRL_TI) != 0
+    (status & APBUART_STATUS_THE)
+      && (uart->regs->ctrl & APBUART_CTRL_TI) != 0
    ) {
      /* write_interrupt will get called from this function */
      rtems_termios_dequeue_characters(uart->cookie, 1);

Sorry, this should be

+    (status & APBUART_STATUS_TE)

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to