Skip to content

Commit

Permalink
uartlite: Fix stupid bit error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenguokai committed Mar 23, 2021
1 parent 9ff75f3 commit e95ef10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/serial/xilinx-uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#define REG_STATUS 0x08
#define REG_CONTROL 0x0C

#define UART_TX_FULL 0x3
#define UART_RX_VALID 0x0
#define UART_TX_FULL (1<<0x3)
#define UART_RX_VALID (1<<0x0)

static volatile void *uart_base;

Expand Down

0 comments on commit e95ef10

Please sign in to comment.