aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/GPT/main.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-04-13 13:06:18 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-04-13 13:06:18 +0000
commit062cce0bed39edc78dbd86004861823e068541c0 (patch)
treed28a85736c8bd221df63923cc12e1eeda30048c9 /testhal/STM32/STM32F4xx/GPT/main.c
parent64f1f5f94a2ed2d74c13b19947cf8dde44c0856f (diff)
downloadChibiOS-062cce0bed39edc78dbd86004861823e068541c0.tar.gz
ChibiOS-062cce0bed39edc78dbd86004861823e068541c0.tar.bz2
ChibiOS-062cce0bed39edc78dbd86004861823e068541c0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7890 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/GPT/main.c')
-rw-r--r--testhal/STM32/STM32F4xx/GPT/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F4xx/GPT/main.c b/testhal/STM32/STM32F4xx/GPT/main.c
index e58f7e0a1..44facd2b2 100644
--- a/testhal/STM32/STM32F4xx/GPT/main.c
+++ b/testhal/STM32/STM32F4xx/GPT/main.c
@@ -18,7 +18,7 @@
#include "hal.h"
/*
- * GPT2 callback.
+ * GPT4 callback.
*/
static void gpt4cb(GPTDriver *gptp) {
@@ -74,7 +74,7 @@ int main(void) {
chSysInit();
/*
- * Initializes the GPT drivers 2 and 3.
+ * Initializes the GPT drivers 4 and 3.
*/
gptStart(&GPTD4, &gpt4cfg);
gptPolledDelay(&GPTD4, 10); /* Small delay.*/
@@ -82,7 +82,7 @@ int main(void) {
gptPolledDelay(&GPTD3, 10); /* Small delay.*/
/*
- * Normal main() thread activity, it changes the GPT1 period every
+ * Normal main() thread activity, it changes the GPT4 period every
* five seconds.
*/
while (true) {