From 50c086ffb94f199c088f4cc52b7887b668dddf00 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 23 Jun 2009 22:36:11 +0000 Subject: - Replace 'while(' with 'while ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2358 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- testing/examples/PIC32/BlinkingLeds.c | 2 +- testing/examples/ledtest-imx27ads/test.c | 4 ++-- testing/examples/ledtest-imx31pdk/test.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'testing') diff --git a/testing/examples/PIC32/BlinkingLeds.c b/testing/examples/PIC32/BlinkingLeds.c index 027f59ac..dc7f8cfd 100644 --- a/testing/examples/PIC32/BlinkingLeds.c +++ b/testing/examples/PIC32/BlinkingLeds.c @@ -9,7 +9,7 @@ int main(void) mPORTDClearBits(BIT_2); mPORTDSetPinsDigitalOut(BIT_2); - while(1) + while (1) { for(i = 0; i < 500000; i++) mPORTDToggleBits(BIT_0); diff --git a/testing/examples/ledtest-imx27ads/test.c b/testing/examples/ledtest-imx27ads/test.c index abb3bd15..467571dc 100644 --- a/testing/examples/ledtest-imx27ads/test.c +++ b/testing/examples/ledtest-imx27ads/test.c @@ -48,13 +48,13 @@ __gccmain() void exit(int exit_code) { - while(1); + while (1); } /* EXIT */ atexit() { - while(1); + while (1); } /* ATEXIT */ diff --git a/testing/examples/ledtest-imx31pdk/test.c b/testing/examples/ledtest-imx31pdk/test.c index 446bc909..9f3855df 100644 --- a/testing/examples/ledtest-imx31pdk/test.c +++ b/testing/examples/ledtest-imx31pdk/test.c @@ -29,7 +29,7 @@ int main (void) { volatile unsigned char *led = ((volatile unsigned char *)0xB6020000); - while(1) + while (1) { *led = 0xFF; delay(); @@ -46,13 +46,13 @@ __gccmain() void exit(int exit_code) { - while(1); + while (1); } /* EXIT */ atexit() { - while(1); + while (1); } /* ATEXIT */ -- cgit v1.2.3