Removed some test code from a file.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1059 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2009-07-11 14:48:38 +00:00
parent 3722f11de2
commit 4a35a0cd1b
1 changed files with 0 additions and 26 deletions

View File

@ -24,8 +24,6 @@
#include "board.h"
#include "stm32_serial.h"
static IOBUS_DECL(LedBus, IOPORT_C, 1, GPIOC_LED);
/*
* Red LEDs blinker thread, times are in milliseconds.
*/
@ -37,30 +35,6 @@ static msg_t Thread1(void *arg) {
chThdSleepMilliseconds(500);
palSetPad(IOPORT_C, GPIOC_LED);
chThdSleepMilliseconds(500);
palTogglePad(IOPORT_C, GPIOC_LED);
chThdSleepMilliseconds(500);
palTogglePad(IOPORT_C, GPIOC_LED);
chThdSleepMilliseconds(500);
palWritePad(IOPORT_C, GPIOC_LED, PAL_LOW);
chThdSleepMilliseconds(500);
palWritePad(IOPORT_C, GPIOC_LED, PAL_HIGH);
chThdSleepMilliseconds(500);
palWriteGroup(IOPORT_C, 1, GPIOC_LED, PAL_LOW);
chThdSleepMilliseconds(500);
palWriteGroup(IOPORT_C, 1, GPIOC_LED, PAL_HIGH);
chThdSleepMilliseconds(500);
palClearPort(IOPORT_C, PAL_PORT_BIT(GPIOC_LED));
chThdSleepMilliseconds(500);
palSetPort(IOPORT_C, PAL_PORT_BIT(GPIOC_LED));
chThdSleepMilliseconds(500);
palTogglePort(IOPORT_C, PAL_PORT_BIT(GPIOC_LED));
chThdSleepMilliseconds(500);
palTogglePort(IOPORT_C, PAL_PORT_BIT(GPIOC_LED));
chThdSleepMilliseconds(500);
palWriteBus(&LedBus, PAL_LOW);
chThdSleepMilliseconds(500);
palWriteBus(&LedBus, PAL_HIGH);
chThdSleepMilliseconds(500);
}
return 0;
}