diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2018-02-04 13:36:12 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2018-02-04 13:36:12 +0000 |
commit | dacb403627fc97dce0bf64b3c4ebecb879f3ce0d (patch) | |
tree | 4afb0b26909f7697d8c854e60ada14499c7585b0 /demos/AVR/TEST-SUITE-OSLIB/main.c | |
parent | d9ad41cec2dd7f2d23e2a700adfcf7a35568d43c (diff) | |
download | ChibiOS-dacb403627fc97dce0bf64b3c4ebecb879f3ce0d.tar.gz ChibiOS-dacb403627fc97dce0bf64b3c4ebecb879f3ce0d.tar.bz2 ChibiOS-dacb403627fc97dce0bf64b3c4ebecb879f3ce0d.zip |
Update all demos comments and indent
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11429 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR/TEST-SUITE-OSLIB/main.c')
-rw-r--r-- | demos/AVR/TEST-SUITE-OSLIB/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/AVR/TEST-SUITE-OSLIB/main.c b/demos/AVR/TEST-SUITE-OSLIB/main.c index 28ce40563..e9b12e078 100644 --- a/demos/AVR/TEST-SUITE-OSLIB/main.c +++ b/demos/AVR/TEST-SUITE-OSLIB/main.c @@ -18,6 +18,9 @@ #include "hal.h"
#include "oslib_test_root.h"
+/*
+ * LED blinker thread, times are in milliseconds.
+ */
static THD_WORKING_AREA(waThread1, 32);
static THD_FUNCTION(Thread1, arg) {
@@ -44,8 +47,6 @@ int main(void) { halInit();
chSysInit();
- palClearPad(IOPORT2, PORTB_LED1);
-
/*
* Activates the serial driver 1 using the driver default configuration.
*/
@@ -61,7 +62,7 @@ int main(void) { */
test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite);
- while(TRUE) {
+ while (TRUE) {
chThdSleepMilliseconds(1000);
}
}
|