[rtems commit] pc386/console/conscfg.c: Fix spacing
Joel Sherrill
joel at rtems.org
Mon Sep 16 19:27:46 UTC 2013
Module: rtems
Branch: master
Commit: f73089760cfa058d55a9f09c7efd2fb04ff11beb
Changeset: http://git.rtems.org/rtems/commit/?id=f73089760cfa058d55a9f09c7efd2fb04ff11beb
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Sep 16 14:31:52 2013 -0500
pc386/console/conscfg.c: Fix spacing
---
c/src/lib/libbsp/i386/pc386/console/conscfg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/i386/pc386/console/conscfg.c b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
index 09a8f9b..76881bb 100644
--- a/c/src/lib/libbsp/i386/pc386/console/conscfg.c
+++ b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
@@ -39,7 +39,7 @@
#define CLOCK_RATE (115200 * 16)
-uint8_t com_get_register(uint32_t addr,uint8_t i)
+uint8_t com_get_register(uint32_t addr, uint8_t i)
{
register uint8_t val;
@@ -47,9 +47,9 @@ uint8_t com_get_register(uint32_t addr,uint8_t i)
return val;
}
-void com_set_register(uint32_t addr,uint8_t i, uint8_t val)
+void com_set_register(uint32_t addr, uint8_t i, uint8_t val)
{
- outport_byte( (addr+i),val );
+ outport_byte( (addr + i),val );
}
console_tbl Console_Configuration_Ports[] = {
More information about the vc
mailing list