Remove broken debug uart name.
[bertos.git] / bertos / cpu / cortex-m3 / drv / kdebug_lm3s.c
index 64afa5ef3fec05cd0b4dc5f4335515ff0bd3e08f..3025884630d065fab6998da0fea8b0c69b9847f6 100644 (file)
@@ -42,8 +42,6 @@
 #include <drv/ser_lm3s.h>
 #include "kdebug_lm3s.h"
 
-#if CONFIG_KDEBUG_PORT == KDEBUG_PORT_DBGU
-
 #if CONFIG_KDEBUG_PORT == 0
        #define UART_BASE UART0_BASE
        #define UART_GPIO_BASE GPIO_PORTA_BASE
 
 typedef uint32_t kdbg_irqsave_t;
 
-#else
-#error CONFIG_KDEBUG_PORT should be KDEBUG_PORT_DBGU
-#endif
-
 INLINE void uart_hw_config(void)
 {
        unsigned long div, baud = CONFIG_KDEBUG_BAUDRATE;
-       bool hi_speed;
+       bool hi_speed = false;
 
        if (baud * 16 > CPU_FREQ)
        {