Ignore:
Timestamp:
2016-05-22T19:19:43Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b272c67a
Parents:
153c7a29 (diff), af2254ec (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r153c7a29 r0dc2fec  
    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 *) &reg;
    5960        } while (status->tf != 0);
Note: See TracChangeset for help on using the changeset viewer.