Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/grlib/uart.c

    r7ddc2c7 rb7c819e  
    5252        grlib_uart_status_t *status;
    5353        grlib_uart_t *uart = (grlib_uart_t *) dev->data;
     54        uint32_t reg;
    5455       
    5556        /* Wait for space becoming available in Tx FIFO. */
    5657        do {
    57                 uint32_t reg = pio_read_32(&uart->io->status);
     58                reg = pio_read_32(&uart->io->status);
    5859                status = (grlib_uart_status_t *) ®
    5960        } while (status->tf != 0);
Note: See TracChangeset for help on using the changeset viewer.