From 0d0646d915b51191ce55cbb2750e5422ee1766db Mon Sep 17 00:00:00 2001 From: danicampora Date: Sun, 15 Mar 2015 10:05:15 +0100 Subject: cc3200: Update HAL to SDK release version 1.1.0. --- cc3200/hal/uart.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'cc3200/hal/uart.c') diff --git a/cc3200/hal/uart.c b/cc3200/hal/uart.c index b00bbeeb1..33d91414b 100644 --- a/cc3200/hal/uart.c +++ b/cc3200/hal/uart.c @@ -1167,13 +1167,8 @@ UARTIntRegister(unsigned long ulBase, void (*pfnHandler)(void)) // // Determine the interrupt number based on the UART port. // -#if 1 - ulInt = UARTIntNumberGet(ulBase); -#else - ulInt = ((ulBase == UART0_BASE) ? INT_UART0 : - ((ulBase == UART1_BASE) ? INT_UART1 : INT_UART2)); -#endif + ulInt = UARTIntNumberGet(ulBase); // // Register the interrupt handler. @@ -1216,12 +1211,7 @@ UARTIntUnregister(unsigned long ulBase) // // Determine the interrupt number based on the UART port. // -#if 1 ulInt = UARTIntNumberGet(ulBase); -#else - ulInt = ((ulBase == UART0_BASE) ? INT_UART0 : - ((ulBase == UART1_BASE) ? INT_UART1 : INT_UART2)); -#endif // // Disable the interrupt. -- cgit v1.2.3