aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/SPC560Pxx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-14 12:34:59 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-14 12:34:59 +0000
commit126943984c591c952bd0b9f6b2d36d97be823de3 (patch)
treeba80c46171dcc1e34bbd0110edb0cca645bd50ed /testhal/SPC560Pxx
parentf0e62eb4b588d8b2fbf858efb7b41226a2424d81 (diff)
downloadChibiOS-126943984c591c952bd0b9f6b2d36d97be823de3.tar.gz
ChibiOS-126943984c591c952bd0b9f6b2d36d97be823de3.tar.bz2
ChibiOS-126943984c591c952bd0b9f6b2d36d97be823de3.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5848 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/SPC560Pxx')
-rw-r--r--testhal/SPC560Pxx/SPI/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/SPC560Pxx/SPI/main.c b/testhal/SPC560Pxx/SPI/main.c
index 1178c7377..83ee0bbb1 100644
--- a/testhal/SPC560Pxx/SPI/main.c
+++ b/testhal/SPC560Pxx/SPI/main.c
@@ -57,7 +57,7 @@ static msg_t spi_thread_1(void *p) {
chRegSetThreadName("SPI thread 1");
while (TRUE) {
spiAcquireBus(&SPID1); /* Acquire ownership of the bus. */
- palClearPad(PORT_D, PD_LED1); /* LED ON. */
+ palClearPad(PORT_D, PD_LED1); /* LED ON. */
spiStart(&SPID1, &hs_spicfg); /* Setup transfer parameters. */
spiSelect(&SPID1); /* Slave Select assertion. */
spiExchange(&SPID1, 512,
@@ -78,7 +78,7 @@ static msg_t spi_thread_2(void *p) {
chRegSetThreadName("SPI thread 2");
while (TRUE) {
spiAcquireBus(&SPID1); /* Acquire ownership of the bus. */
- palSetPad(PORT_D, PD_LED1); /* LED OFF. */
+ palSetPad(PORT_D, PD_LED1); /* LED OFF. */
spiStart(&SPID1, &ls_spicfg); /* Setup transfer parameters. */
spiSelect(&SPID1); /* Slave Select assertion. */
spiExchange(&SPID1, 512,