diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 13:28:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 13:28:22 -0600 |
commit | 74a4eb6d1612d63958e14a240cc526c9be8041e0 (patch) | |
tree | 90ff9923b46383e6ea4e5ec0f162608fda1820fa /nuttx/arch/x86 | |
parent | 5d99549aca261d40abf3e0d7180c2bddca3522b3 (diff) | |
download | nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.tar.gz nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.tar.bz2 nuttx-74a4eb6d1612d63958e14a240cc526c9be8041e0.zip |
Make sure that there is one space after for
Diffstat (limited to 'nuttx/arch/x86')
-rw-r--r-- | nuttx/arch/x86/src/common/up_assert.c | 2 | ||||
-rw-r--r-- | nuttx/arch/x86/src/qemu/qemu_vga.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/x86/src/common/up_assert.c b/nuttx/arch/x86/src/common/up_assert.c index b67db487b..8f4f53b9a 100644 --- a/nuttx/arch/x86/src/common/up_assert.c +++ b/nuttx/arch/x86/src/common/up_assert.c @@ -242,7 +242,7 @@ static void _up_assert(int errorcode) if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0) { (void)irqsave(); - for(;;) + for (;;) { #ifdef CONFIG_ARCH_LEDS board_led_on(LED_PANIC); diff --git a/nuttx/arch/x86/src/qemu/qemu_vga.c b/nuttx/arch/x86/src/qemu/qemu_vga.c index fe34382fb..78cec8121 100644 --- a/nuttx/arch/x86/src/qemu/qemu_vga.c +++ b/nuttx/arch/x86/src/qemu/qemu_vga.c @@ -294,12 +294,12 @@ static int init_graph_vga(int width, int height,int chain4) outb(val, 0x3c2); outw(0x0e11, 0x3d4); /* enable regs 0-7 */ - for(a = 0; a < SZ(g_hor_regs); ++a) + for (a = 0; a < SZ(g_hor_regs); ++a) { outw((uint16_t)((w[a] << 8) + g_hor_regs[a]), 0x3d4); } - for(a = 0; a < SZ(g_ver_regs); ++a) + for (a = 0; a < SZ(g_ver_regs); ++a) { outw((uint16_t)((h[a] << 8) + g_ver_regs[a]), 0x3d4); } @@ -330,7 +330,7 @@ static int init_graph_vga(int width, int height,int chain4) outb(0x33, 0x3c0); outb(0x00, 0x3c0); - for(a = 0; a < 16; a++) /* ega pal */ + for (a = 0; a < 16; a++) /* ega pal */ { outb((uint8_t)a, 0x3c0); outb((uint8_t)a, 0x3c0); |