summaryrefslogtreecommitdiff
path: root/testing/examples
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:11 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:11 +0000
commit50c086ffb94f199c088f4cc52b7887b668dddf00 (patch)
treef82cbcc5acf534e762fa623923c2b39de0fc07cd /testing/examples
parente43979e7020ea9d05a3c0a2af444f292eacb6c53 (diff)
downloadopenocd_libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.gz
openocd_libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.bz2
openocd_libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.xz
openocd_libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.zip
- Replace 'while(' with 'while ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2358 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'testing/examples')
-rw-r--r--testing/examples/PIC32/BlinkingLeds.c2
-rw-r--r--testing/examples/ledtest-imx27ads/test.c4
-rw-r--r--testing/examples/ledtest-imx31pdk/test.c6
3 files changed, 6 insertions, 6 deletions
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 */