diff options
Diffstat (limited to 'testing/examples')
-rw-r--r-- | testing/examples/PIC32/BlinkingLeds.c | 2 | ||||
-rw-r--r-- | testing/examples/ledtest-imx27ads/test.c | 4 | ||||
-rw-r--r-- | testing/examples/ledtest-imx31pdk/test.c | 6 |
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 */ |