diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-13 21:09:39 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-13 21:09:39 +0000 |
commit | 5fee9bc344b38d79ff1baf26e6365eeae7d407b5 (patch) | |
tree | cd03f7ccbdf0a44026bc0f80b6fc87b9a6d361d0 /testhal/STM32/SPI/main.c | |
parent | 2bdd9885e282b8cf26642f4a4b73fc4e61da872c (diff) | |
parent | 2e5abeebad5e94989f62e05582028f02c5e71dda (diff) | |
download | ChibiOS-5fee9bc344b38d79ff1baf26e6365eeae7d407b5.tar.gz ChibiOS-5fee9bc344b38d79ff1baf26e6365eeae7d407b5.tar.bz2 ChibiOS-5fee9bc344b38d79ff1baf26e6365eeae7d407b5.zip |
I2C. Merged changes from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3160 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/SPI/main.c')
-rw-r--r-- | testhal/STM32/SPI/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/STM32/SPI/main.c b/testhal/STM32/SPI/main.c index e9807e93c..3750203bc 100644 --- a/testhal/STM32/SPI/main.c +++ b/testhal/STM32/SPI/main.c @@ -54,6 +54,7 @@ static WORKING_AREA(spi_thread_1_wa, 256); static msg_t spi_thread_1(void *p) {
(void)p;
+ chRegSetThreadName("SPI thread 1");
while (TRUE) {
spiAcquireBus(&SPID1); /* Acquire ownership of the bus. */
palClearPad(IOPORT3, GPIOC_LED); /* LED ON. */
@@ -74,6 +75,7 @@ static WORKING_AREA(spi_thread_2_wa, 256); static msg_t spi_thread_2(void *p) {
(void)p;
+ chRegSetThreadName("SPI thread 2");
while (TRUE) {
spiAcquireBus(&SPID1); /* Acquire ownership of the bus. */
palSetPad(IOPORT3, GPIOC_LED); /* LED OFF. */
|