diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-03-07 18:01:52 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-03-07 18:01:52 +0000 |
commit | f40d33139e0bd179b766d1576dfd7b494734ff67 (patch) | |
tree | 6fcbd334cee9a403af77970bcb9a7cb1e7d2738e /testhal/STM32F0xx | |
parent | 8028c122f6ded22262e3b2cb553722e604b99fb3 (diff) | |
download | ChibiOS-f40d33139e0bd179b766d1576dfd7b494734ff67.tar.gz ChibiOS-f40d33139e0bd179b766d1576dfd7b494734ff67.tar.bz2 ChibiOS-f40d33139e0bd179b766d1576dfd7b494734ff67.zip |
STM32 GPT enhancements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6758 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F0xx')
-rw-r--r-- | testhal/STM32F0xx/IRQ_STORM/chconf.h | 2 | ||||
-rw-r--r-- | testhal/STM32F0xx/IRQ_STORM/main.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/testhal/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32F0xx/IRQ_STORM/chconf.h index 7ff9a1440..1b81d6805 100644 --- a/testhal/STM32F0xx/IRQ_STORM/chconf.h +++ b/testhal/STM32F0xx/IRQ_STORM/chconf.h @@ -137,7 +137,7 @@ *
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_TM TRUE
+#define CH_CFG_USE_TM FALSE
/**
* @brief Threads registry APIs.
diff --git a/testhal/STM32F0xx/IRQ_STORM/main.c b/testhal/STM32F0xx/IRQ_STORM/main.c index 5c520ca6b..22baf6e62 100644 --- a/testhal/STM32F0xx/IRQ_STORM/main.c +++ b/testhal/STM32F0xx/IRQ_STORM/main.c @@ -148,6 +148,7 @@ static void gpt3cb(GPTDriver *gptp) { static const GPTConfig gpt2cfg = {
1000000, /* 1MHz timer clock.*/
gpt2cb, /* Timer callback.*/
+ 0,
0
};
@@ -157,6 +158,7 @@ static const GPTConfig gpt2cfg = { static const GPTConfig gpt3cfg = {
1000000, /* 1MHz timer clock.*/
gpt3cb, /* Timer callback.*/
+ 0,
0
};
|