aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/SPI/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/SPI/main.c')
-rw-r--r--testhal/STM32/SPI/main.c2
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. */