From 6c7bdd85bbe8d2b791e0fe52f93f5e75e8beea2d Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 20 Feb 2022 23:49:03 -0700 Subject: SD Stuff coming soon --- src/drivers/uart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/uart.c b/src/drivers/uart.c index d6bb92b..becda2d 100644 --- a/src/drivers/uart.c +++ b/src/drivers/uart.c @@ -20,11 +20,11 @@ void uart_init(void) // Disable UART0 store32(0x0, UART0_CR); // Setup GPIO on pin 14 and 15 - store32(0x0, GPPUD); + store32(0x0, (unsigned long)GPPUD); delay(150); - store32((1 << 14) | (1 << 15), GPPUDCLK0); + store32((1 << 14) | (1 << 15), (unsigned long)GPPUDCLK0); delay(150); - store32(0x0, GPPUDCLK0); + store32(0x0, (unsigned long)GPPUDCLK0); // Clear pending interrupts store32(0x7FF, UART0_ICR); // Set to 3Mhz -- cgit v1.2.1