From e0f586d2d5608f25bdf32cc1608f3abc35b6996f Mon Sep 17 00:00:00 2001 From: Resaec Date: Sat, 28 Apr 2018 00:54:43 +0200 Subject: [PATCH] change multiline comments, they game (only?) me strange spacing errors in the VS info popup --- exosphere/src/uart.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/exosphere/src/uart.h b/exosphere/src/uart.h index 54b42dac2..7aab48b8d 100644 --- a/exosphere/src/uart.h +++ b/exosphere/src/uart.h @@ -30,12 +30,14 @@ typedef enum { /* 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 */ + 1 = UNDERRUN + */ UART_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 */ + 1 = OVERRUN + */ UART_OVERRUN = 1 << 3, RX_FIFO_COUNTER = 0b111111 << 16, /* reflects number of current entries in RX FIFO */ @@ -63,7 +65,8 @@ typedef enum { /* STOP: 0 = Transmit 1 stop bit - 1 = Transmit 2 stop bits (receiver always checks for 1 stop bit) */ + 1 = Transmit 2 stop bits (receiver always checks for 1 stop bit) + */ UART_LCR_STOP = 1 << 2, UART_LCR_PAR = 1 << 3, /* Parity enabled */ UART_LCR_EVEN = 1 << 4, /* Even parity format. There will always be an even number of 1s in the binary representation (PAR = 1) */