[rtems commit] bsp/lm3s69xx: Typos
Sebastian Huber
sebh at rtems.org
Mon Jun 3 07:58:17 UTC 2013
Module: rtems
Branch: master
Commit: 8bed60314e383fe461c03236857b9ba369beecd4
Changeset: http://git.rtems.org/rtems/commit/?id=8bed60314e383fe461c03236857b9ba369beecd4
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jun 3 10:03:44 2013 +0200
bsp/lm3s69xx: Typos
---
.../libbsp/arm/lm3s69xx/console/console-config.c | 2 +-
c/src/lib/libbsp/arm/lm3s69xx/include/irq.h | 4 ++--
c/src/lib/libbsp/arm/lm3s69xx/startup/bspstart.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c b/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c
index 474c02a..ad567ad 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c
+++ b/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c
@@ -44,7 +44,7 @@ console_tbl Console_Configuration_Ports [] = {
.ulClock = LM3S69XX_UART_BAUD,
.ulIntVector = LM3S69XX_IRQ_UART_1,
.pDeviceParams = (void *)1
- }
+ },
#endif
#ifdef LM3S69XX_ENABLE_UART_2
{
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/include/irq.h b/c/src/lib/libbsp/arm/lm3s69xx/include/irq.h
index 00b570e..8ab9bcd 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/include/irq.h
+++ b/c/src/lib/libbsp/arm/lm3s69xx/include/irq.h
@@ -56,9 +56,9 @@
#define LM3S69XX_IRQ_SYSTEM_CONTROL 28
#define LM3S69XX_IRQ_FLASH_MEMORY_CONTROL 29
#define LM3S69XX_IRQ_GPIO_PORT_F 30
-#define LM3S69XX_IRQ_GPIO PORT_G 31
+#define LM3S69XX_IRQ_GPIO_PORT_G 31
/* NOTE: lm3s3749 */
-#define LM3S69XX_IRQ_GPIO PORT_H 32
+#define LM3S69XX_IRQ_GPIO_PORT_H 32
#define LM3S69XX_IRQ_UART_2 33
/* NOTE: lm3s3749 */
#define LM3S69XX_IRQ_SSI_1 34
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/startup/bspstart.c b/c/src/lib/libbsp/arm/lm3s69xx/startup/bspstart.c
index 23a04a5..442c713 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/arm/lm3s69xx/startup/bspstart.c
@@ -57,8 +57,8 @@ static const lm3s69xx_gpio_config start_config_gpio[] = {
LM3S69XX_PIN_UART_RX(LM3S69XX_PORT_B, 0),
LM3S69XX_PIN_UART_TX(LM3S69XX_PORT_B, 1),
#elif defined(LM3S69XX_MCU_LM3S6965)
- LM3S69XX_PIN_UART_RX(LM3S69XX_PORT_D, 2);
- LM3S69XX_PIN_UART_TX(LM3S69XX_PORT_D, 3);
+ LM3S69XX_PIN_UART_RX(LM3S69XX_PORT_D, 2),
+ LM3S69XX_PIN_UART_TX(LM3S69XX_PORT_D, 3),
#else
#error No GPIO pin configuration for UART 1
#endif
More information about the vc
mailing list