From 5430415578fc3aa2639700e41601084631e4f9d8 Mon Sep 17 00:00:00 2001 From: Resaec Date: Sat, 28 Apr 2018 01:27:16 +0200 Subject: [PATCH] somehow forgot to rename them --- exosphere/src/uart.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/exosphere/src/uart.h b/exosphere/src/uart.h index 16a2c667c..8d5c1ea0c 100644 --- a/exosphere/src/uart.h +++ b/exosphere/src/uart.h @@ -26,23 +26,23 @@ typedef enum { /* 36.3.12 UART_VENDOR_STATUS_0_0 */ typedef enum { - UART_TX_IDLE = 1 << 0, - UART_RX_IDLE = 1 << 1, + UART_VENDOR_STATE_TX_IDLE = 1 << 0, + UART_VENDOR_STATE_RX_IDLE = 1 << 1, /* This bit is set to 1 when a read is issued to an empty FIFO and gets cleared on register read (sticky bit until read) 0 = NO_UNDERRUN 1 = UNDERRUN */ - UART_UNDERRUN = 1 << 2, + UART_VENDOR_STATE_RX_UNDERRUN = 1 << 2, /* This bit is set to 1 when write data is issued to the TX FIFO when it is already full and gets cleared on register read (sticky bit until read) 0 = NO_OVERRUN 1 = OVERRUN */ - UART_OVERRUN = 1 << 3, + UART_VENDOR_STATE_TX_OVERRUN = 1 << 3, - RX_FIFO_COUNTER = 0b111111 << 16, /* reflects number of current entries in RX FIFO */ - TX_FIFO_COUNTER = 0b111111 << 24 /* reflects number of current entries in TX FIFO */ + UART_VENDOR_STATE_RX_FIFO_COUNTER = 0b111111 << 16, /* reflects number of current entries in RX FIFO */ + UART_VENDOR_STATE_TX_FIFO_COUNTER = 0b111111 << 24 /* reflects number of current entries in TX FIFO */ } UartVendorStatus; /* 36.3.6 UART_LSR_0 */