summaryrefslogtreecommitdiffhomepage
path: root/src/rv64/rv64-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rv64/rv64-uart.c')
-rw-r--r--src/rv64/rv64-uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rv64/rv64-uart.c b/src/rv64/rv64-uart.c
index 3f604fe..22b0793 100644
--- a/src/rv64/rv64-uart.c
+++ b/src/rv64/rv64-uart.c
@@ -11,10 +11,10 @@
/* this file handles the UART */
-static uint8_t* cb_uart_ptr = (uint8_t*) CB_UART_BASE;
+static uint8_t* cb_uart_ptr = (uint8_t*) NB_UART_BASE;
utf_char_t cb_get_char(void) {
- uintptr_t ptr = CB_UART_BASE;
+ uintptr_t ptr = NB_UART_BASE;
while (!(*(((volatile uint8_t*) ptr) + 0x05) & 0x01))
;