From: asterix Date: Wed, 23 Jun 2010 16:53:06 +0000 (+0000) Subject: Reformat. X-Git-Tag: 2.6.0~372 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f1d3aeceda4d744ac57861a01030916518bd9670;p=bertos.git Reformat. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3935 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/ser_lm3s.c b/bertos/cpu/cortex-m3/drv/ser_lm3s.c index 8de8ce66..12590b89 100644 --- a/bertos/cpu/cortex-m3/drv/ser_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/ser_lm3s.c @@ -192,7 +192,8 @@ static void uart_irq_tx(int port) while (lm3s_uartTxReady(base)) { - if (fifo_isempty(txfifo)) { + if (fifo_isempty(txfifo)) + { /* * Disable TX empty interrupts if there're no more * characters to transmit. @@ -220,8 +221,7 @@ static void uart_common_irq_handler(int port) uart_irq_tx(port); } -static void -lm3s_uartIRQEnable(int port, sysirq_handler_t handler) +static void lm3s_uartIRQEnable(int port, sysirq_handler_t handler) { uint32_t base = UARTDesc[port].base; sysirq_t irq = UARTDesc[port].irq;