aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c')
-rw-r--r--demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
index f52b9bffb..3655fc937 100644
--- a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
+++ b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c
@@ -151,8 +151,8 @@ static const SPIConfig spi2cfg = {
};
/*
- * This is a periodic thread that does absolutely nothing except flashing
- * a LED.
+ * This is a periodic thread that reads accelerometer and outputs
+ * result to SPI2 and PWM.
*/
static WORKING_AREA(waThread1, 128);
static msg_t Thread1(void *arg) {
@@ -306,10 +306,8 @@ int main(void) {
NORMALPRIO + 10, Thread1, NULL);
/*
- * Normal main() thread activity, in this demo it does nothing except
- * sleeping in a loop and check the button state, when the button is
- * pressed the test procedure is launched with output on the serial
- * driver 2.
+ * Normal main() thread activity, in this demo it just performs
+ * a shell respawn upon its termination.
*/
while (TRUE) {
if (!shelltp) {